* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/discrim.Rcheck’ * using R Under development (unstable) (2025-01-24 r87627) * using platform: x86_64-apple-darwin20 * R was compiled by Apple clang version 14.0.0 (clang-1400.0.29.202) GNU Fortran (GCC) 14.2.0 * running under: macOS Ventura 13.3.1 * using session charset: UTF-8 * checking for file ‘discrim/DESCRIPTION’ ... OK * this is package ‘discrim’ version ‘1.0.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘klaR’ * 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 ‘discrim’ can be installed ... [5s/6s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-macos-x86_64/discrim-00install.html' 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/2s] OK * checking loading without being on the library search path ... [1s/2s] OK * checking whether startup messages can be suppressed ... [1s/2s] 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 ... [4s/4s] 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 ... [2s/3s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [8s/14s] ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [8s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(discrim) Loading required package: parsnip > > test_check("discrim") [ FAIL 2 | WARN 0 | SKIP 4 | PASS 434 ] â•â• Skipped tests (4) â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• • On CRAN (4): 'test-linear-lda.R:112:3', 'test-linear-sparsediscrim.R:199:3', 'test-naive-Bayes_naivebayes.R:194:3', 'test-quad-qda.R:123:3' â•â• Failed tests â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• ── Error ('test-naive-Bayes.R:36:1'): (code run outside of `test_that()`) ────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'klaR' Backtrace: â–† 1. └─base::loadNamespace(x) at test-naive-Bayes.R:36:1 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-rda.R:7:1'): (code run outside of `test_that()`) ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'klaR' Backtrace: â–† 1. └─base::loadNamespace(x) at test-rda.R:7:1 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 2 | WARN 0 | SKIP 4 | PASS 434 ] Error: Test failures Execution halted * checking PDF version of manual ... [6s/9s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 1:15