Last updated on 2026-03-24 08:52:48 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.4 | 15.09 | 336.78 | 351.87 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.4 | 11.30 | 266.85 | 278.15 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.4 | 24.00 | 293.39 | 317.39 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.4 | 31.00 | 347.80 | 378.80 | OK | |
| r-devel-macos-arm64 | 1.1.4 | 3.00 | 44.00 | 47.00 | OK | |
| r-devel-windows-x86_64 | 1.1.4 | 24.00 | 192.00 | 216.00 | OK | |
| r-patched-linux-x86_64 | 1.1.4 | 14.04 | 333.31 | 347.35 | OK | |
| r-release-linux-x86_64 | 1.1.4 | 13.91 | 345.24 | 359.15 | OK | |
| r-release-macos-arm64 | 1.1.4 | OK | ||||
| r-release-macos-x86_64 | 1.1.4 | 11.00 | 456.00 | 467.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.4 | 22.00 | 194.00 | 216.00 | ERROR | |
| r-oldrel-macos-arm64 | 1.1.4 | OK | ||||
| r-oldrel-macos-x86_64 | 1.1.4 | 10.00 | 416.00 | 426.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.4 | 26.00 | 247.00 | 273.00 | OK |
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [99s/413s]
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.584, system: 0.044, elapsed: 2.205 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.563, system: 0.114, elapsed: 11.955 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.220, system: 0.019, elapsed: 0.416 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.817, system: 0.799, elapsed: 96.053 seconds]
Computing values for grid cells...
... done. [user: 0.175, system: 0.003, elapsed: 0.246 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.929, system: 1.001, elapsed: 111.668 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.560, system: 0.032, elapsed: 2.775 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.620, system: 0.065, elapsed: 14.384 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.222, system: 0.015, elapsed: 0.862 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.710, system: 0.689, elapsed: 38.223 seconds]
Computing values for grid cells...
... done. [user: 0.178, system: 0.003, elapsed: 0.188 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.868, system: 0.831, elapsed: 57.306 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.513, system: 0.036, elapsed: 1.970 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.809, system: 0.096, elapsed: 13.613 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.220, system: 0.015, elapsed: 0.589 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.954, system: 0.848, elapsed: 125.567 seconds]
Computing values for grid cells...
... done. [user: 0.174, system: 0.003, elapsed: 0.189 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.280, system: 0.240, elapsed: 1.092 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.634, system: 1.281, elapsed: 143.908 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.569, system: 0.035, elapsed: 2.489 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.589, system: 0.056, elapsed: 14.624 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.220, system: 0.015, elapsed: 0.924 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.718, system: 0.721, elapsed: 55.592 seconds]
Computing values for grid cells...
... done. [user: 0.180, system: 0.006, elapsed: 0.203 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.695, system: 0.629, elapsed: 18.315 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 30.664, system: 1.488, elapsed: 93.209 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
Saving _problems/test-MAPI_Varicell-15.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ────────────────────────
Expected `sd(sf::st_area(grid.var))` to equal 963339.563502512.
Differences:
`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: examples
Result: ERROR
Running examples in 'mapi-Ex.R' failed
The error most likely occurred in:
> ### Name: MAPI_GridHexagonal
> ### Title: Function MAPI_GridHexagonal
> ### Aliases: MAPI_GridHexagonal
>
> ### ** Examples
>
> data("samples")
> # Builds a grid of hexagonal cells according to samples coordinates (columns x and y)
> # using the EPSG:3857 projection and an halfwidth cell value of hw=250m.
> grid <- MAPI_GridHexagonal(samples, crs=3857, hw=250)
Building local cartesian grid...
Flavor: r-release-windows-x86_64
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [97s/369s]
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.611, system: 0.052, elapsed: 1.905 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.438, system: 0.081, elapsed: 10.425 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.220, system: 0.020, elapsed: 0.905 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.742, system: 0.772, elapsed: 70.016 seconds]
Computing values for grid cells...
... done. [user: 0.171, system: 0.004, elapsed: 0.305 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.744, system: 0.952, elapsed: 84.171 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.572, system: 0.034, elapsed: 2.504 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.514, system: 0.089, elapsed: 13.599 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.220, system: 0.016, elapsed: 1.024 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.671, system: 0.816, elapsed: 117.522 seconds]
Computing values for grid cells...
... done. [user: 0.164, system: 0.003, elapsed: 0.170 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.711, system: 0.979, elapsed: 135.688 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.525, system: 0.032, elapsed: 2.822 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.438, system: 0.052, elapsed: 15.651 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.214, system: 0.016, elapsed: 0.973 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.602, system: 0.700, elapsed: 43.699 seconds]
Computing values for grid cells...
... done. [user: 0.177, system: 0.004, elapsed: 0.530 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.265, system: 0.316, elapsed: 2.166 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.868, system: 1.145, elapsed: 67.034 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.557, system: 0.034, elapsed: 4.306 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.584, system: 0.054, elapsed: 17.834 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.216, system: 0.018, elapsed: 0.865 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.517, system: 0.686, elapsed: 22.763 seconds]
Computing values for grid cells...
... done. [user: 0.160, system: 0.003, elapsed: 0.201 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.350, system: 0.599, elapsed: 28.204 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 30.070, system: 1.426, elapsed: 75.470 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
Saving _problems/test-MAPI_Varicell-15.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-MAPI_Varicell.R:15:5'): MAPI_Varicell ────────────────────────
Expected `sd(sf::st_area(grid.var))` to equal 963339.563502512.
Differences:
`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