CRAN Package Check Results for Package discrim

Last updated on 2024-11-03 15:48:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 7.35 79.01 86.36 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.1 0.32 1.36 1.68 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 137.82 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 126.47 OK
r-devel-windows-x86_64 1.0.1 9.00 87.00 96.00 NOTE
r-patched-linux-x86_64 1.0.1 11.82 73.41 85.23 OK
r-release-linux-x86_64 1.0.1 5.99 70.90 76.89 ERROR
r-release-macos-arm64 1.0.1 42.00 OK
r-release-macos-x86_64 1.0.1 61.00 OK
r-release-windows-x86_64 1.0.1 8.00 89.00 97.00 OK
r-oldrel-macos-arm64 1.0.1 54.00 OK
r-oldrel-macos-x86_64 1.0.1 90.00 OK
r-oldrel-windows-x86_64 1.0.1 10.00 104.00 114.00 OK

Check Details

Version: 1.0.1
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: discrim-package.Rd: discrim_flexible Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-windows-x86_64

Version: 1.0.1
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'klaR', 'spelling' Flavor: r-release-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [10s/13s] 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 Flavor: r-release-linux-x86_64