* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/xspliner.Rcheck’ * using R Under development (unstable) (2022-08-23 r82744) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘xspliner/DESCRIPTION’ ... OK * this is package ‘xspliner’ version ‘0.0.4’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘factorMerger’ * 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 ‘xspliner’ can be installed ... [5s/16s] OK * checking package directory ... OK * checking ‘build’ 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 R 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 ... [10s/32s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [3s/14s] ERROR Running examples in ‘xspliner-Ex.R’ failed The error most likely occurred in: > ### Name: plot_model_comparison > ### Title: Plot models comparison > ### Aliases: plot_model_comparison > > ### ** Examples > > iris_data <- droplevels(iris[iris$Species != "setosa", ]) > library(e1071) Error in library(e1071) : there is no package called ‘e1071’ Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [6s/20s] [7s/22s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(xspliner) Attaching package: 'xspliner' The following object is masked from 'package:graphics': xspline > > test_check("xspliner") [ FAIL 7 | WARN 0 | SKIP 0 | PASS 57 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test-model.R:6:3): xspline return object with correct attributes and values ── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-model.R:6:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-model.R:20:3): xspline correctly predicts values ──────────────── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-model.R:20:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-utils-approximations.R:81:3): prepare_transition_params_pdp correctly gets pdp response and its approximation ── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-utils-approximations.R:81:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-utils-approximations.R:100:3): prepare_transition_params_ale correctly gets ale response and its approximation ── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-utils-approximations.R:100:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-utils-approximations.R:119:3): get_quantitative_transition correctly gets response and its approximation ── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-utils-approximations.R:119:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-utils-approximations.R:142:3): get_transitions_outcome correctly gets response and its approximation for all special calls ── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-utils-approximations.R:142:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error (test-utils-formula-build.R:219:3): transformed_formula_object returns correct formula form and environment ── Error in `loadNamespace(x)`: there is no package called 'randomForest' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-utils-formula-build.R:219:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 57 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [5s/15s] OK * checking PDF version of manual ... [7s/16s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 2 NOTEs See ‘/data/gannet/ripley/R/packages/tests-Suggests/xspliner.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:27.31, 56.39 + 8.09