Last updated on 2025-10-30 02:49:06 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags | 
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.4 | 13.26 | 260.99 | 274.25 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.4 | 9.95 | 234.11 | 244.06 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.4 | 33.00 | 275.91 | 308.91 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.4 | 85.00 | 308.08 | 393.08 | OK | |
| r-devel-windows-x86_64 | 1.1.4 | 20.00 | 187.00 | 207.00 | OK | |
| r-patched-linux-x86_64 | 1.1.4 | 13.09 | 247.00 | 260.09 | OK | |
| r-release-linux-x86_64 | 1.1.4 | 14.93 | 258.75 | 273.68 | OK | |
| r-release-macos-arm64 | 1.1.4 | 6.00 | 96.00 | 102.00 | OK | |
| r-release-macos-x86_64 | 1.1.4 | 20.00 | 249.00 | 269.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.4 | 22.00 | 187.00 | 209.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.4 | 6.00 | 92.00 | 98.00 | OK | |
| r-oldrel-macos-x86_64 | 1.1.4 | 25.00 | 332.00 | 357.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.4 | 24.00 | 239.00 | 263.00 | OK | 
Version: 1.1.4
Check: tests
Result: ERROR
    Running ‘testthat.R’ [91s/181s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > # This file is part of the standard setup for testthat.
    > # It is recommended that you do not modify it.
    > #
    > # Where should you do additional test configuration?
    > # Learn more about the roles of various files in:
    > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
    > # * https://testthat.r-lib.org/articles/special-files.html
    > 
    > library(testthat)
    > library(mapi)
    > 
    > test_check("mapi")
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Estimated halfwidth: 286.835888
    Estimated halfwidth: 143.417944
    Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE
    Building local cartesian grid...
    ... 1071 cells
    Building worldwide lat/lon grid...
    Resolution: 5, Area (km^2): 209903.548034604, Spacing (km): 452.492014449456, CLS (km): 517.004996903084
    ... 2432 cells
    Building local cartesian grid...
    ... 1071 cells
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.745, system: 0.076, elapsed: 3.925 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.949, system: 0.308, elapsed: 22.146 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.211, system: 0.025, elapsed: 0.547 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.257, system: 0.317, elapsed: 9.518 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.178, system: 0.004, elapsed: 0.311 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.997, system: 1.000, elapsed: 38.344 seconds]
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.703, system: 0.056, elapsed: 3.554 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 10.023, system: 0.258, elapsed: 19.458 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.209, system: 0.021, elapsed: 0.411 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.097, system: 0.285, elapsed: 7.067 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.185, system: 0.010, elapsed: 0.423 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.809, system: 0.668, elapsed: 32.415 seconds]
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.840, system: 0.081, elapsed: 3.855 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.925, system: 0.220, elapsed: 20.773 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.202, system: 0.016, elapsed: 0.400 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.294, system: 0.305, elapsed: 9.649 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.189, system: 0.011, elapsed: 0.418 seconds]
    Starting 4 permutations...
    ... parallelized over 2 cores ...
    1 2 4 3 
    ... computing probabilities from permuted values ...
    ... done.  [user: 1.308, system: 0.301, elapsed: 2.057 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 18.454, system: 0.977, elapsed: 38.812 seconds]
    Building local cartesian grid...
    ... 1071 cells
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.757, system: 0.067, elapsed: 3.586 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 10.010, system: 0.248, elapsed: 21.512 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.209, system: 0.022, elapsed: 0.467 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.141, system: 0.253, elapsed: 8.606 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.180, system: 0.005, elapsed: 0.337 seconds]
    Starting 50 permutations...
    ... serially ...
    
      |                                                                                      
      |                                                                                |   0%
      |                                                                                      
      |==                                                                              |   2%
      |                                                                                      
      |===                                                                             |   4%
      |                                                                                      
      |=====                                                                           |   6%
      |                                                                                      
      |======                                                                          |   8%
      |                                                                                      
      |========                                                                        |  10%
      |                                                                                      
      |==========                                                                      |  12%
      |                                                                                      
      |===========                                                                     |  14%
      |                                                                                      
      |=============                                                                   |  16%
      |                                                                                      
      |==============                                                                  |  18%
      |                                                                                      
      |================                                                                |  20%
      |                                                                                      
      |==================                                                              |  22%
      |                                                                                      
      |===================                                                             |  24%
      |                                                                                      
      |=====================                                                           |  26%
      |                                                                                      
      |======================                                                          |  28%
      |                                                                                      
      |========================                                                        |  30%
      |                                                                                      
      |==========================                                                      |  32%
      |                                                                                      
      |===========================                                                     |  34%
      |                                                                                      
      |=============================                                                   |  36%
      |                                                                                      
      |==============================                                                  |  38%
      |                                                                                      
      |================================                                                |  40%
      |                                                                                      
      |==================================                                              |  42%
      |                                                                                      
      |===================================                                             |  44%
      |                                                                                      
      |=====================================                                           |  46%
      |                                                                                      
      |======================================                                          |  48%
      |                                                                                      
      |========================================                                        |  50%
      |                                                                                      
      |==========================================                                      |  52%
      |                                                                                      
      |===========================================                                     |  54%
      |                                                                                      
      |=============================================                                   |  56%
      |                                                                                      
      |==============================================                                  |  58%
      |                                                                                      
      |================================================                                |  60%
      |                                                                                      
      |==================================================                              |  62%
      |                                                                                      
      |===================================================                             |  64%
      |                                                                                      
      |=====================================================                           |  66%
      |                                                                                      
      |======================================================                          |  68%
      |                                                                                      
      |========================================================                        |  70%
      |                                                                                      
      |==========================================================                      |  72%
      |                                                                                      
      |===========================================================                     |  74%
      |                                                                                      
      |=============================================================                   |  76%
      |                                                                                      
      |==============================================================                  |  78%
      |                                                                                      
      |================================================================                |  80%
      |                                                                                      
      |==================================================================              |  82%
      |                                                                                      
      |===================================================================             |  84%
      |                                                                                      
      |=====================================================================           |  86%
      |                                                                                      
      |======================================================================          |  88%
      |                                                                                      
      |========================================================================        |  90%
      |                                                                                      
      |==========================================================================      |  92%
      |                                                                                      
      |===========================================================================     |  94%
      |                                                                                      
      |=============================================================================   |  96%
      |                                                                                      
      |==============================================================================  |  98%
      |                                                                                      
      |================================================================================| 100%
    ... computing probabilities from permuted values ...
    ... done.  [user: 11.460, system: 0.757, elapsed: 23.692 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 28.496, system: 1.454, elapsed: 59.782 seconds]
    Significant areas aggregation, with percentile filter minQ > 0.000000 and alpha = 0.050000 ...
    ... 1 upper-tail and 3 lower-tail significant areas returned
    Building local cartesian grid...
    ... 1045 cells
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ────────────────────────
    sd(sf::st_area(grid.var)) (`actual`) not equal to 963339.563502512 (`expected`).
    
      `actual`: 963429.6
    `expected`: 963339.6
    
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
    Error: Test failures
    Execution halted
Flavor: r-release-macos-x86_64
Version: 1.1.4
Check: tests
Result: ERROR
    Running ‘testthat.R’ [93s/228s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > # This file is part of the standard setup for testthat.
    > # It is recommended that you do not modify it.
    > #
    > # Where should you do additional test configuration?
    > # Learn more about the roles of various files in:
    > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
    > # * https://testthat.r-lib.org/articles/special-files.html
    > 
    > library(testthat)
    > library(mapi)
    > 
    > test_check("mapi")
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Estimated halfwidth: 286.835888
    Estimated halfwidth: 143.417944
    Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE
    Building local cartesian grid...
    ... 1071 cells
    Building worldwide lat/lon grid...
    Resolution: 5, Area (km^2): 209903.548034604, Spacing (km): 452.492014449456, CLS (km): 517.004996903084
    ... 2432 cells
    Building local cartesian grid...
    ... 1071 cells
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.761, system: 0.081, elapsed: 6.642 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 10.093, system: 0.381, elapsed: 36.147 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.210, system: 0.032, elapsed: 0.745 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.258, system: 0.452, elapsed: 18.007 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.190, system: 0.020, elapsed: 0.589 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 17.244, system: 1.379, elapsed: 65.839 seconds]
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.791, system: 0.084, elapsed: 5.449 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 10.144, system: 0.383, elapsed: 30.059 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.213, system: 0.040, elapsed: 0.672 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.359, system: 0.573, elapsed: 13.936 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.188, system: 0.013, elapsed: 0.426 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 17.407, system: 1.500, elapsed: 54.088 seconds]
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.723, system: 0.057, elapsed: 3.075 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 10.067, system: 0.313, elapsed: 18.760 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.208, system: 0.025, elapsed: 0.402 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.080, system: 0.331, elapsed: 7.012 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.188, system: 0.020, elapsed: 0.299 seconds]
    Starting 4 permutations...
    ... parallelized over 2 cores ...
    1 2 4 3 
    ... computing probabilities from permuted values ...
    ... done.  [user: 1.138, system: 0.299, elapsed: 1.055 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 18.146, system: 1.201, elapsed: 32.184 seconds]
    Building local cartesian grid...
    ... 1071 cells
    MAPI COMPUTATION STARTED
    Checking data...
    `metric` provided as a vector
    Unique names ... OK
    All samples used in metric ... OK
    ... 200 samples and 39800 metric left.
    Building 20100 elliptical polygons...
    ... 20100 ellipses.    [user: 1.770, system: 0.090, elapsed: 3.981 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.913, system: 0.231, elapsed: 19.733 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.202, system: 0.021, elapsed: 0.315 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.264, system: 0.348, elapsed: 8.814 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.221, system: 0.051, elapsed: 1.537 seconds]
    Starting 50 permutations...
    ... serially ...
    
      |                                                                                      
      |                                                                                |   0%
      |                                                                                      
      |==                                                                              |   2%
      |                                                                                      
      |===                                                                             |   4%
      |                                                                                      
      |=====                                                                           |   6%
      |                                                                                      
      |======                                                                          |   8%
      |                                                                                      
      |========                                                                        |  10%
      |                                                                                      
      |==========                                                                      |  12%
      |                                                                                      
      |===========                                                                     |  14%
      |                                                                                      
      |=============                                                                   |  16%
      |                                                                                      
      |==============                                                                  |  18%
      |                                                                                      
      |================                                                                |  20%
      |                                                                                      
      |==================                                                              |  22%
      |                                                                                      
      |===================                                                             |  24%
      |                                                                                      
      |=====================                                                           |  26%
      |                                                                                      
      |======================                                                          |  28%
      |                                                                                      
      |========================                                                        |  30%
      |                                                                                      
      |==========================                                                      |  32%
      |                                                                                      
      |===========================                                                     |  34%
      |                                                                                      
      |=============================                                                   |  36%
      |                                                                                      
      |==============================                                                  |  38%
      |                                                                                      
      |================================                                                |  40%
      |                                                                                      
      |==================================                                              |  42%
      |                                                                                      
      |===================================                                             |  44%
      |                                                                                      
      |=====================================                                           |  46%
      |                                                                                      
      |======================================                                          |  48%
      |                                                                                      
      |========================================                                        |  50%
      |                                                                                      
      |==========================================                                      |  52%
      |                                                                                      
      |===========================================                                     |  54%
      |                                                                                      
      |=============================================                                   |  56%
      |                                                                                      
      |==============================================                                  |  58%
      |                                                                                      
      |================================================                                |  60%
      |                                                                                      
      |==================================================                              |  62%
      |                                                                                      
      |===================================================                             |  64%
      |                                                                                      
      |=====================================================                           |  66%
      |                                                                                      
      |======================================================                          |  68%
      |                                                                                      
      |========================================================                        |  70%
      |                                                                                      
      |==========================================================                      |  72%
      |                                                                                      
      |===========================================================                     |  74%
      |                                                                                      
      |=============================================================                   |  76%
      |                                                                                      
      |==============================================================                  |  78%
      |                                                                                      
      |================================================================                |  80%
      |                                                                                      
      |==================================================================              |  82%
      |                                                                                      
      |===================================================================             |  84%
      |                                                                                      
      |=====================================================================           |  86%
      |                                                                                      
      |======================================================================          |  88%
      |                                                                                      
      |========================================================================        |  90%
      |                                                                                      
      |==========================================================================      |  92%
      |                                                                                      
      |===========================================================================     |  94%
      |                                                                                      
      |=============================================================================   |  96%
      |                                                                                      
      |==============================================================================  |  98%
      |                                                                                      
      |================================================================================| 100%
    ... computing probabilities from permuted values ...
    ... done.  [user: 11.310, system: 0.787, elapsed: 23.321 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 28.414, system: 1.671, elapsed: 59.281 seconds]
    Significant areas aggregation, with percentile filter minQ > 0.000000 and alpha = 0.050000 ...
    ... 1 upper-tail and 3 lower-tail significant areas returned
    Building local cartesian grid...
    ... 1045 cells
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ────────────────────────
    sd(sf::st_area(grid.var)) (`actual`) not equal to 963339.563502512 (`expected`).
    
      `actual`: 963429.6
    `expected`: 963339.6
    
    [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
    Error: Test failures
    Execution halted
Flavor: r-oldrel-macos-x86_64