Last updated on 2026-04-01 15:54:33 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.4 | 14.27 | 260.73 | 275.00 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.4 | 13.47 | 269.93 | 283.40 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.4 | 22.00 | 303.98 | 325.98 | 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 | 4.00 | 46.00 | 50.00 | OK | |
| r-devel-windows-x86_64 | 1.1.4 | 21.00 | 195.00 | 216.00 | ERROR | |
| r-patched-linux-x86_64 | 1.1.4 | 12.13 | 329.92 | 342.05 | OK | |
| r-release-linux-x86_64 | 1.1.4 | 14.16 | 346.01 | 360.17 | OK | |
| r-release-macos-arm64 | 1.1.4 | OK | ||||
| r-release-macos-x86_64 | 1.1.4 | 11.00 | 377.00 | 388.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.4 | 21.00 | 195.00 | 216.00 | OK | |
| 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 | 24.00 | 243.00 | 267.00 | OK |
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-devel-windows-x86_64
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [102s/335s]
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.565, system: 0.046, elapsed: 2.157 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.554, system: 0.099, elapsed: 12.790 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.220, system: 0.018, elapsed: 0.407 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.934, system: 0.863, elapsed: 11.662 seconds]
Computing values for grid cells...
... done. [user: 0.178, system: 0.004, elapsed: 0.185 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.043, system: 1.053, elapsed: 28.015 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.605, system: 0.045, elapsed: 2.262 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.681, system: 0.082, elapsed: 13.968 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.223, system: 0.018, elapsed: 1.047 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.958, system: 0.786, elapsed: 86.485 seconds]
Computing values for grid cells...
... done. [user: 0.183, system: 0.003, elapsed: 0.240 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.222, system: 0.962, elapsed: 104.747 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.554, system: 0.034, elapsed: 2.711 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.641, system: 0.051, elapsed: 14.879 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.224, system: 0.017, elapsed: 0.937 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.757, system: 0.762, elapsed: 67.113 seconds]
Computing values for grid cells...
... done. [user: 0.173, system: 0.004, elapsed: 0.178 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.301, system: 0.248, elapsed: 1.055 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.337, system: 1.159, elapsed: 87.884 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.563, system: 0.031, elapsed: 2.262 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.652, system: 0.052, elapsed: 14.403 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.223, system: 0.018, elapsed: 0.714 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.826, system: 0.793, elapsed: 67.736 seconds]
Computing values for grid cells...
... done. [user: 0.180, system: 0.004, elapsed: 0.362 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: 13.471, system: 0.856, elapsed: 20.745 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 32.604, system: 1.785, elapsed: 107.299 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: tests
Result: ERROR
Running ‘testthat.R’ [99s/363s]
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.674, system: 0.052, elapsed: 2.233 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.566, system: 0.087, elapsed: 11.855 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.219, system: 0.018, elapsed: 0.779 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.566, system: 0.670, elapsed: 20.169 seconds]
Computing values for grid cells...
... done. [user: 0.167, system: 0.003, elapsed: 0.291 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.801, system: 0.856, elapsed: 36.117 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.036, elapsed: 2.252 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.540, system: 0.077, elapsed: 12.465 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.212, system: 0.015, elapsed: 0.270 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.523, system: 0.677, elapsed: 30.241 seconds]
Computing values for grid cells...
... done. [user: 0.166, system: 0.004, elapsed: 0.239 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.551, system: 0.827, elapsed: 46.257 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.571, system: 0.037, elapsed: 2.273 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.426, system: 0.083, elapsed: 12.224 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.248, system: 0.017, elapsed: 0.505 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 8.168, system: 0.836, elapsed: 87.460 seconds]
Computing values for grid cells...
... done. [user: 0.178, system: 0.006, elapsed: 0.245 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.259, system: 0.336, elapsed: 1.179 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 21.530, system: 1.342, elapsed: 104.870 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.552, system: 0.035, elapsed: 2.735 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.428, system: 0.053, elapsed: 15.117 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.223, system: 0.018, elapsed: 0.942 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.653, system: 0.830, elapsed: 113.052 seconds]
Computing values for grid cells...
... done. [user: 0.167, system: 0.003, elapsed: 0.196 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.581, system: 0.623, elapsed: 33.886 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 30.297, system: 1.595, elapsed: 167.353 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