Last updated on 2025-10-15 11:49:58 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
ANN2 | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 2.3.4
Check: C++ specification
Result: NOTE
Specified C++11: please drop specification unless essential
Flavor: r-patched-linux-x86_64
Version: 2.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ANN2)
>
> # Only test if not on mac
> if (tolower(Sys.info()[["sysname"]]) != "darwin") {
+ test_check("ANN2")
+ }
[ FAIL 5 | WARN 2 | SKIP 4 | PASS 143 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-cpp.R:4:5', 'test-gradient.R:91:3',
'test-gradient.R:123:3', 'test-gradient.R:159:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-plotting.R:33:3'): the plot.ANN() function works correctly ───
p_NN$labels$colour not equal to "variable".
target is NULL, current is character
── Failure ('test-plotting.R:41:3'): the plot.ANN() function works correctly ───
p_AE$labels$colour not equal to "variable".
target is NULL, current is character
── Failure ('test-plotting.R:58:3'): the reconstruction_plot.ANN() function works correctly ──
p_AE$labels$group not equal to "obs".
target is NULL, current is character
── Failure ('test-plotting.R:59:3'): the reconstruction_plot.ANN() function works correctly ──
p_AE$labels$colour not equal to "col".
target is NULL, current is character
── Failure ('test-plotting.R:77:3'): the compression_plot.ANN() function works correctly ──
p_AE$labels$colour not equal to "col".
target is NULL, current is character
[ FAIL 5 | WARN 2 | SKIP 4 | PASS 143 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 2.4.0
Check: installed package size
Result: NOTE
installed size is 29.6Mb
sub-directories of 1Mb or more:
cereal 1.4Mb
libs 28.1Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64