Last updated on 2026-03-21 01:56:37 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.97 | 310.72 | 322.69 | 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 | 14.29 | 338.70 | 352.99 | OK | |
| r-release-macos-arm64 | 1.1.4 | OK | ||||
| r-release-macos-x86_64 | 1.1.4 | 11.00 | 398.00 | 409.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 | 529.00 | 539.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.4 | 25.00 | 248.00 | 273.00 | OK |
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [109s/359s]
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.612, system: 0.052, elapsed: 2.229 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.660, system: 0.123, elapsed: 12.897 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.227, system: 0.019, elapsed: 0.500 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.832, system: 0.788, elapsed: 86.633 seconds]
Computing values for grid cells...
... done. [user: 0.174, system: 0.004, elapsed: 0.249 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.082, system: 1.009, elapsed: 103.284 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.552, system: 0.036, elapsed: 2.886 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.548, system: 0.101, elapsed: 13.254 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.231, system: 0.018, elapsed: 0.673 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.889, system: 0.772, elapsed: 90.273 seconds]
Computing values for grid cells...
... done. [user: 0.183, system: 0.005, elapsed: 0.329 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.971, system: 0.962, elapsed: 108.547 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.034, elapsed: 3.036 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.574, system: 0.048, elapsed: 14.476 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.218, system: 0.016, elapsed: 1.042 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.752, system: 0.711, elapsed: 65.342 seconds]
Computing values for grid cells...
... done. [user: 0.170, system: 0.002, elapsed: 0.175 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.287, system: 0.239, elapsed: 1.146 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 20.214, system: 1.086, elapsed: 86.239 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.551, system: 0.039, elapsed: 2.176 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.626, system: 0.103, elapsed: 12.368 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.216, system: 0.016, elapsed: 0.371 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.639, system: 0.678, elapsed: 27.516 seconds]
Computing values for grid cells...
... done. [user: 0.173, system: 0.003, elapsed: 0.177 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: 21.818, system: 1.334, elapsed: 11.145 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 40.710, system: 2.200, elapsed: 54.687 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’ [100s/470s]
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.600, system: 0.046, elapsed: 2.266 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.686, system: 0.077, elapsed: 12.357 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.222, system: 0.020, elapsed: 0.731 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.773, system: 0.851, elapsed: 133.174 seconds]
Computing values for grid cells...
... done. [user: 0.172, system: 0.003, elapsed: 0.329 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 19.048, system: 1.016, elapsed: 149.607 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.533, system: 0.029, elapsed: 3.077 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.621, system: 0.070, elapsed: 18.840 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.214, system: 0.016, elapsed: 1.047 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.618, system: 0.771, elapsed: 101.985 seconds]
Computing values for grid cells...
... done. [user: 0.164, system: 0.003, elapsed: 0.170 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 18.703, system: 0.907, elapsed: 126.059 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.606, system: 0.040, elapsed: 2.090 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.550, system: 0.123, elapsed: 11.777 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.345, system: 0.030, elapsed: 0.211 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 7.648, system: 0.816, elapsed: 6.747 seconds]
Computing values for grid cells...
... done. [user: 0.179, system: 0.003, elapsed: 0.181 seconds]
Starting 4 permutations...
... parallelized over 2 cores ...
1 2 3 4
... computing probabilities from permuted values ...
... done. [user: 1.322, system: 0.310, elapsed: 1.353 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 21.373, system: 1.361, elapsed: 23.154 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.633, system: 0.038, elapsed: 3.013 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.540, system: 0.085, elapsed: 14.373 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.221, system: 0.016, elapsed: 1.180 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 6.774, system: 0.840, elapsed: 119.951 seconds]
Computing values for grid cells...
... done. [user: 0.163, system: 0.003, elapsed: 0.172 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.449, system: 0.570, elapsed: 23.834 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 30.456, system: 1.582, elapsed: 163.644 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