CRAN Package Check Results for Package tidydann

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.14 169.01 173.15 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 0.23 1.57 1.80 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 302.70 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 282.51 OK
r-devel-windows-x86_64 1.0.0 7.00 142.00 149.00 OK
r-patched-linux-x86_64 1.0.0 3.63 158.95 162.58 OK
r-release-linux-x86_64 1.0.0 4.27 46.53 50.80 ERROR
r-release-macos-arm64 1.0.0 57.00 OK
r-release-macos-x86_64 1.0.0 98.00 OK
r-release-windows-x86_64 1.0.0 6.00 149.00 155.00 OK
r-oldrel-macos-arm64 1.0.0 77.00 OK
r-oldrel-macos-x86_64 1.0.0 259.00 OK
r-oldrel-windows-x86_64 1.0.0 7.00 199.00 206.00 OK

Check Details

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

Version: 1.0.0
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'dann', 'recipes', 'tune' Flavor: r-release-linux-x86_64

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘tidydann-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: nearest_neighbor_adaptive > ### Title: Discriminant Adaptive Nearest Neighbor Classification > ### Aliases: nearest_neighbor_adaptive > > ### ** Examples > > > library(parsnip) > library(tidydann) > > data("two_class_dat", package = "modeldata") > > model <- nearest_neighbor_adaptive(neighbors = 2) |> + set_engine("dann") |> + fit(formula = Class ~ A + B, data = two_class_dat) Error in `check_installs()`: ! This engine requires some package installs: 'dann' Backtrace: ▆ 1. ├─generics::fit(...) 2. └─parsnip::fit.model_spec(...) 3. └─parsnip:::check_installs(object) 4. └─rlang::abort(...) Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(tidydann) > > test_check("tidydann") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 22 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_A_nearest_neighbor_adaptive.R:4:1'): (code run outside of `test_that()`) ── <packageNotFoundError/error/condition> Error in `library(recipes)`: there is no package called 'recipes' Backtrace: ▆ 1. ├─base::suppressPackageStartupMessages(library(recipes)) at test_A_nearest_neighbor_adaptive.R:4:1 2. │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage")) 3. └─base::library(recipes) ── Error ('test_C_ecosystem.R:8:1'): (code run outside of `test_that()`) ─────── <packageNotFoundError/error/condition> Error in `library(recipes)`: there is no package called 'recipes' Backtrace: ▆ 1. ├─base::suppressPackageStartupMessages(library(recipes)) at test_C_ecosystem.R:8:1 2. │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage")) 3. └─base::library(recipes) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 22 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64