Last updated on 2026-03-22 01:49:51 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.24 | 197.60 | 208.84 | 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 | 332.12 | 363.12 | 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 | 12.00 | 475.00 | 487.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 | 427.00 | 437.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’ [100s/432s]
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.564, system: 0.044, elapsed: 2.604 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.719, system: 0.079, elapsed: 14.146 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.221, system: 0.017, elapsed: 0.909 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.155, system: 0.839, elapsed: 89.552 seconds]
Computing values for grid cells...
... done. [user: 0.179, system: 0.004, elapsed: 0.323 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.413, system: 1.005, elapsed: 108.461 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.597, system: 0.035, elapsed: 2.748 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.739, system: 0.076, elapsed: 14.634 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.221, system: 0.015, elapsed: 0.979 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.136, system: 0.846, elapsed: 132.368 seconds]
Computing values for grid cells...
... done. [user: 0.184, system: 0.006, elapsed: 0.230 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.458, system: 1.005, elapsed: 151.884 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.532, system: 0.028, elapsed: 2.498 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.711, system: 0.066, elapsed: 14.020 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.223, system: 0.015, elapsed: 0.931 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.863, system: 0.779, elapsed: 87.401 seconds]
Computing values for grid cells...
... done. [user: 0.173, system: 0.003, elapsed: 0.235 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 4 3
... computing probabilities from permuted values ...
... done. [user: 1.280, system: 0.234, elapsed: 1.174 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.452, system: 1.164, elapsed: 107.299 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.519, system: 0.030, elapsed: 2.427 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.612, system: 0.070, elapsed: 13.802 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.224, system: 0.017, elapsed: 0.849 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.738, system: 0.711, elapsed: 25.614 seconds]
Computing values for grid cells...
... done. [user: 0.183, system: 0.003, elapsed: 0.187 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.768, system: 0.616, elapsed: 12.268 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 30.758, system: 1.475, elapsed: 56.142 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’ [98s/379s]
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.678, system: 0.053, elapsed: 3.285 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.516, system: 0.095, elapsed: 16.856 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.223, system: 0.018, elapsed: 0.927 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.830, system: 0.890, elapsed: 124.227 seconds]
Computing values for grid cells...
... done. [user: 0.164, system: 0.003, elapsed: 0.202 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.992, system: 1.082, elapsed: 146.523 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.544, system: 0.032, elapsed: 2.636 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.625, system: 0.068, elapsed: 13.960 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.215, system: 0.014, elapsed: 0.355 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.288, system: 0.606, elapsed: 17.058 seconds]
Computing values for grid cells...
... done. [user: 0.162, system: 0.003, elapsed: 0.168 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.412, system: 0.742, elapsed: 35.111 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.540, system: 0.037, elapsed: 2.065 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.545, system: 0.085, elapsed: 11.502 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.224, system: 0.016, elapsed: 0.374 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.538, system: 0.653, elapsed: 17.356 seconds]
Computing values for grid cells...
... done. [user: 0.181, system: 0.008, elapsed: 0.190 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.235, system: 0.319, elapsed: 0.984 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.945, system: 1.145, elapsed: 33.306 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.553, system: 0.034, elapsed: 2.353 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.739, system: 0.076, elapsed: 13.962 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.213, system: 0.018, elapsed: 1.067 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.649, system: 0.805, elapsed: 99.549 seconds]
Computing values for grid cells...
... done. [user: 0.166, system: 0.004, elapsed: 0.210 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.366, system: 0.622, elapsed: 38.987 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 30.366, system: 1.589, elapsed: 157.105 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