* using log directory ‘/Users/ripley/R/packages/tests-devel/VSURF.Rcheck’ * using R Under development (unstable) (2024-04-17 r86441) * using platform: aarch64-apple-darwin23.4.0 * R was compiled by Apple clang version 15.0.0 (clang-1500.3.9.4) GNU Fortran (GCC) 12.2.0 * running under: macOS Sonoma 14.4.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘VSURF/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘VSURF’ version ‘1.2.0’ * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘VSURF’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(VSURF) > > test_check("VSURF") [ FAIL 8 | WARN 1 | SKIP 0 | PASS 14 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_orange.R:32:3'): Variable importance ───────────────────────── orange.vsurf$imp.mean.dec not equal to c(...). 9/9 mismatches (average diff: 10.3) [1] 2956.4 - 2954.5 == 1.96 [2] 201.3 - 216.3 == -14.95 [3] 101.2 - 75.1 == 26.08 [4] 13.9 - 19.9 == -6.06 [5] -13.2 - -24.7 == 11.55 [6] -29.6 - -32.0 == 2.37 [7] -29.9 - -39.0 == 9.13 [8] -36.7 - -40.3 == 3.59 [9] -37.8 - -54.5 == 16.73 ── Failure ('test_orange.R:36:3'): Variable importance ───────────────────────── orange.vsurf$imp.sd.dec not equal to c(...). 9/9 mismatches (average diff: 13.9) [1] 266.5 - 200.8 == 65.666 [2] 51.2 - 59.5 == -8.212 [3] 98.2 - 65.9 == 32.241 [4] 52.6 - 55.7 == -3.123 [5] 61.6 - 58.0 == 3.610 [6] 46.8 - 44.2 == 2.633 [7] 57.5 - 57.1 == 0.374 [8] 39.1 - 46.9 == -7.797 [9] 41.2 - 42.4 == -1.175 ── Failure ('test_orange.R:40:3'): Variable importance ───────────────────────── orange.vsurf$imp.mean.dec.ind not identical to c(2L, 1L, 5L, 8L, 7L, 3L, 6L, 9L, 4L). 4/9 mismatches (average diff: 3.5) [5] 6 - 7 == -1 [6] 9 - 3 == 6 [7] 7 - 6 == 1 [8] 3 - 9 == -6 ── Failure ('test_orange.R:48:3'): OOB erros of nested models ────────────────── orange.vsurf$err.interp not equal to c(723.4782, 447.9998, 779.2947). 3/3 mismatches (average diff: 2.08) [1] 723 - 723 == -0.317 [2] 447 - 448 == -1.053 [3] 774 - 779 == -4.860 ── Failure ('test_orange.R:51:3'): OOB erros of nested models ────────────────── orange.vsurf$err.pred not equal to 721.4986. 1/1 mismatches [1] 721 - 721 == -0.483 ── Failure ('test_orange.R:58:3'): Thresholds for the 3 steps ────────────────── min(orange.vsurf$pred.pruned.tree) not equal to 42.413. 1/1 mismatches [1] 56 - 42.4 == 13.6 ── Failure ('test_orange.R:60:3'): Thresholds for the 3 steps ────────────────── orange.vsurf$sd.min not equal to 16.85953. 1/1 mismatches [1] 19 - 16.9 == 2.13 ── Failure ('test_orange.R:61:3'): Thresholds for the 3 steps ────────────────── orange.vsurf$mean.jump not equal to 331.2949. 1/1 mismatches [1] 327 - 331 == -3.81 [ FAIL 8 | WARN 1 | SKIP 0 | PASS 14 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/VSURF.Rcheck/00check.log’ for details. 19.16 real 15.31 user 3.05 sys