Last updated on 2025-10-31 00:51:08 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 | 10.45 | 253.33 | 263.78 | 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 | 13.00 | 191.00 | 204.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 | 12.00 | 214.00 | 226.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’ [85s/146s]
  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.539, system: 0.041, elapsed: 2.272 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.496, system: 0.091, elapsed: 15.501 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.198, system: 0.016, elapsed: 0.347 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.898, system: 0.203, elapsed: 6.894 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.175, system: 0.004, elapsed: 0.256 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 15.867, system: 0.381, elapsed: 26.219 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.621, system: 0.052, elapsed: 2.514 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.786, system: 0.365, elapsed: 14.164 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.206, system: 0.021, elapsed: 0.311 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.328, system: 0.357, elapsed: 6.735 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.181, system: 0.010, elapsed: 0.262 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.689, system: 0.852, elapsed: 24.860 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.904, system: 0.107, elapsed: 2.926 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.559, system: 0.123, elapsed: 14.346 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.197, system: 0.013, elapsed: 0.391 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.868, system: 0.180, elapsed: 6.269 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.166, system: 0.004, elapsed: 0.393 seconds]
    Starting 4 permutations...
    ... parallelized over 2 cores ...
    1 2 3 4 
    ... computing probabilities from permuted values ...
    ... done.  [user: 1.198, system: 0.205, elapsed: 1.557 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 17.522, system: 0.661, elapsed: 26.960 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.589, system: 0.035, elapsed: 4.853 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.507, system: 0.116, elapsed: 26.573 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.201, system: 0.015, elapsed: 0.490 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.113, system: 0.238, elapsed: 6.977 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.172, system: 0.005, elapsed: 0.320 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: 10.960, system: 0.537, elapsed: 18.968 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 27.199, system: 0.985, elapsed: 59.611 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’ [82s/131s]
  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.637, system: 0.045, elapsed: 2.680 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.469, system: 0.081, elapsed: 14.652 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.193, system: 0.014, elapsed: 0.271 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.658, system: 0.184, elapsed: 5.231 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.174, system: 0.006, elapsed: 0.262 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 15.684, system: 0.357, elapsed: 23.942 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.649, system: 0.035, elapsed: 2.672 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.485, system: 0.085, elapsed: 16.191 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.195, system: 0.011, elapsed: 0.236 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.816, system: 0.179, elapsed: 5.860 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.180, system: 0.005, elapsed: 0.338 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 15.876, system: 0.353, elapsed: 26.178 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.666, system: 0.037, elapsed: 2.798 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.406, system: 0.122, elapsed: 15.050 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.189, system: 0.011, elapsed: 0.264 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.762, system: 0.174, elapsed: 6.134 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.185, system: 0.017, elapsed: 0.258 seconds]
    Starting 4 permutations...
    ... parallelized over 2 cores ...
    1 2 3 4 
    ... computing probabilities from permuted values ...
    ... done.  [user: 1.133, system: 0.264, elapsed: 1.082 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 17.000, system: 0.662, elapsed: 26.604 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.629, system: 0.038, elapsed: 2.694 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.466, system: 0.082, elapsed: 14.292 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.197, system: 0.013, elapsed: 0.360 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.764, system: 0.176, elapsed: 6.815 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.182, system: 0.005, elapsed: 0.353 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: 10.568, system: 0.482, elapsed: 19.604 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 26.487, system: 0.823, elapsed: 45.223 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