Last updated on 2025-06-30 01:50:13 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 16.69 | 51.13 | 67.82 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.3 | 10.59 | 163.93 | 174.52 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.5 | 114.77 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.3 | 333.16 | OK | |||
r-devel-windows-x86_64 | 1.1.3 | 20.00 | 165.00 | 185.00 | OK | |
r-patched-linux-x86_64 | OK | |||||
r-release-linux-x86_64 | 1.1.3 | 14.35 | 218.61 | 232.96 | OK | |
r-release-macos-arm64 | 1.0.5 | 41.00 | OK | |||
r-release-macos-x86_64 | 1.1.3 | 142.00 | ERROR | |||
r-release-windows-x86_64 | 1.0.5 | 22.00 | 88.00 | 110.00 | OK | |
r-oldrel-macos-arm64 | 1.0.5 | 36.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.3 | 138.00 | ERROR | |||
r-oldrel-windows-x86_64 | 1.1.3 | 22.00 | 186.00 | 208.00 | OK |
Version: 1.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [61s/91s]
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.508, system: 0.045, elapsed: 2.195 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 8.896, system: 0.098, elapsed: 11.584 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.173, system: 0.013, elapsed: 0.195 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 3.650, system: 0.194, elapsed: 5.680 seconds]
Computing values for grid cells...
... done. [user: 0.168, system: 0.003, elapsed: 0.312 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 14.921, system: 0.374, elapsed: 20.671 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.489, system: 0.038, elapsed: 2.188 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 8.997, system: 0.088, elapsed: 14.201 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.188, system: 0.012, elapsed: 0.314 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 3.755, system: 0.180, elapsed: 6.305 seconds]
Computing values for grid cells...
... done. [user: 0.162, system: 0.003, elapsed: 0.284 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 15.143, system: 0.343, elapsed: 24.227 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.522, system: 0.035, elapsed: 2.580 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 8.918, system: 0.075, elapsed: 14.116 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.185, system: 0.011, elapsed: 0.232 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 3.633, system: 0.163, elapsed: 5.686 seconds]
Computing values for grid cells...
... done. [user: 0.162, system: 0.003, elapsed: 0.235 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.104, system: 0.483, elapsed: 15.255 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 25.159, system: 0.793, elapsed: 39.048 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 18 ]
══ 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 18 ]
Error: Test failures
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [61s/84s]
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.589, system: 0.057, elapsed: 1.848 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 8.799, system: 0.093, elapsed: 9.987 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.178, system: 0.013, elapsed: 0.191 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 3.336, system: 0.164, elapsed: 3.587 seconds]
Computing values for grid cells...
... done. [user: 0.151, system: 0.004, elapsed: 0.160 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 14.564, system: 0.349, elapsed: 16.313 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.449, system: 0.030, elapsed: 1.642 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 9.060, system: 0.094, elapsed: 12.577 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.184, system: 0.013, elapsed: 0.308 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 3.579, system: 0.165, elapsed: 6.077 seconds]
Computing values for grid cells...
... done. [user: 0.156, system: 0.005, elapsed: 0.293 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 14.965, system: 0.328, elapsed: 21.708 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.545, system: 0.028, elapsed: 2.174 seconds]
Computing spatial intersection between 1071 grid cells and 20100 ellipses...
... done. [user: 8.995, system: 0.055, elapsed: 14.974 seconds]
Building sample pairs...
... 39800 sample pairs. [user: 0.182, system: 0.013, elapsed: 0.324 seconds]
Matching grid cells with sample pairs...
... 2295394 matches found. [user: 3.494, system: 0.161, elapsed: 6.011 seconds]
Computing values for grid cells...
... done. [user: 0.157, system: 0.004, elapsed: 0.243 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: 9.925, system: 0.450, elapsed: 15.502 seconds]
MAPI COMPUTATION ENDED. [TOTAL: user: 24.927, system: 0.733, elapsed: 40.178 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 18 ]
══ 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 18 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64