Last updated on 2025-11-03 07:48:43 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags | 
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.4 | 12.75 | 244.69 | 257.44 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.4 | 10.68 | 268.38 | 279.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 | 15.44 | 269.38 | 284.82 | OK | |
| r-release-macos-arm64 | 1.1.4 | 6.00 | 96.00 | 102.00 | OK | |
| r-release-macos-x86_64 | 1.1.4 | 18.00 | 188.00 | 206.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.4 | 20.00 | 187.00 | 207.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.4 | 6.00 | 92.00 | 98.00 | OK | |
| r-oldrel-macos-x86_64 | 1.1.4 | 11.00 | 174.00 | 185.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.4 | 25.00 | 239.00 | 264.00 | OK | 
Version: 1.1.4
Check: tests
Result: ERROR
    Running ‘testthat.R’ [86s/135s]
  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.720, system: 0.073, elapsed: 2.689 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.764, system: 0.244, elapsed: 15.399 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.202, system: 0.019, elapsed: 0.340 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.919, system: 0.213, elapsed: 5.801 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.169, system: 0.003, elapsed: 0.210 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.335, system: 0.580, elapsed: 25.312 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.555, system: 0.038, elapsed: 2.197 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.527, system: 0.149, elapsed: 14.965 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.212, system: 0.019, elapsed: 0.392 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.209, system: 0.313, elapsed: 7.051 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.180, system: 0.007, elapsed: 0.243 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.237, system: 0.554, elapsed: 25.770 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.823, system: 0.094, elapsed: 2.375 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.846, system: 0.372, elapsed: 15.197 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.198, system: 0.013, elapsed: 0.386 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.938, system: 0.191, elapsed: 6.842 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.170, system: 0.004, elapsed: 0.336 seconds]
    Starting 4 permutations...
    ... parallelized over 2 cores ...
    1 2 3 4 
    ... computing probabilities from permuted values ...
    ... done.  [user: 1.238, system: 0.235, elapsed: 1.372 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 17.857, system: 0.935, elapsed: 27.539 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.566, system: 0.038, elapsed: 2.431 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.508, system: 0.097, elapsed: 15.332 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.201, system: 0.015, elapsed: 0.406 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 4.022, system: 0.206, elapsed: 6.872 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.169, system: 0.004, elapsed: 0.299 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.804, system: 0.519, elapsed: 21.633 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 26.959, system: 0.913, elapsed: 48.202 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’ [85s/121s]
  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.727, system: 0.074, elapsed: 2.801 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.576, system: 0.275, elapsed: 14.492 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.194, system: 0.019, elapsed: 0.284 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.860, system: 0.277, elapsed: 4.629 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.182, system: 0.010, elapsed: 0.209 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.085, system: 0.692, elapsed: 23.218 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.736, system: 0.074, elapsed: 2.249 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.624, system: 0.285, elapsed: 14.349 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.199, system: 0.015, elapsed: 0.269 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.936, system: 0.242, elapsed: 5.638 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.177, system: 0.011, elapsed: 0.265 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 16.231, system: 0.672, elapsed: 23.760 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.850, system: 0.090, elapsed: 2.392 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.862, system: 0.439, elapsed: 13.609 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.192, system: 0.015, elapsed: 0.239 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.738, system: 0.192, elapsed: 6.036 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.191, system: 0.020, elapsed: 0.348 seconds]
    Starting 4 permutations...
    ... parallelized over 2 cores ...
    1 2 3 4 
    ... computing probabilities from permuted values ...
    ... done.  [user: 1.127, system: 0.261, elapsed: 0.912 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 17.588, system: 1.059, elapsed: 24.423 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.688, system: 0.058, elapsed: 2.205 seconds]
    Computing spatial intersection between 1071 grid cells and 20100 ellipses...
    ... done.  [user: 9.461, system: 0.099, elapsed: 11.707 seconds]
    Building sample pairs...
    ... 39800 sample pairs.  [user: 0.195, system: 0.012, elapsed: 0.327 seconds]
    Matching grid cells with sample pairs...
    ... 2295394 matches found.  [user: 3.727, system: 0.164, elapsed: 9.016 seconds]
    Computing values for grid cells...
    ... done.  [user: 0.180, system: 0.004, elapsed: 0.474 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.731, system: 0.473, elapsed: 16.943 seconds]
    MAPI COMPUTATION ENDED.  [TOTAL: user: 26.642, system: 0.837, elapsed: 41.812 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