- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘VSURF/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘VSURF’ version ‘1.2.2’
- package encoding: UTF-8
- 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 ... [2s/2s] OK
See the install log for details.
- 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [5s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/4s] ERROR
Running ‘testthat.R’ [5s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(VSURF)
>
> test_check("VSURF")
Saving _problems/test_orange-28.R
Saving _problems/test_orange-30.R
Saving _problems/test_orange-64.R
Saving _problems/test_orange-65.R
[ FAIL 4 | WARN 1 | SKIP 0 | PASS 29 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_orange.R:25:5'): Variable importance ─────────────────────────
Expected `orange.vsurf$imp.sd.dec` to equal `c(266.5, 51.2, 98.2, 52.6, 61.6, 46.8, 57.5, 39.1, 41.2)`.
Differences:
9/9 mismatches (average diff: 13.9)
[1] 200.8 - 266.5 == -65.683
[2] 59.5 - 51.2 == 8.257
[3] 65.9 - 98.2 == -32.254
[4] 55.7 - 52.6 == 3.086
[5] 58.0 - 61.6 == -3.580
[6] 44.2 - 46.8 == -2.633
[7] 57.1 - 57.5 == -0.357
[8] 46.9 - 39.1 == 7.812
[9] 42.4 - 41.2 == 1.213
── Failure ('test_orange.R:29:5'): Variable importance ─────────────────────────
Expected `orange.vsurf$imp.mean.dec.ind` to be identical to `c(2L, 1L, 5L, 8L, 6L, 9L, 7L, 3L, 4L)`.
Differences:
4/9 mismatches (average diff: 3.5)
[5] 7 - 6 == 1
[6] 3 - 9 == -6
[7] 6 - 7 == -1
[8] 9 - 3 == 6
── Failure ('test_orange.R:63:5'): Thresholds for the 3 steps ──────────────────
Expected `min(orange.vsurf$pred.pruned.tree)` to equal 56.
Differences:
1/1 mismatches
[1] 42.4 - 56 == -13.6
── Failure ('test_orange.R:65:5'): Thresholds for the 3 steps ──────────────────
Expected `orange.vsurf$sd.min` to equal 19.
Differences:
1/1 mismatches
[1] 16.9 - 19 == -2.14
[ FAIL 4 | WARN 1 | SKIP 0 | PASS 29 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR