CRAN Package Check Results for Package tune

Last updated on 2021-07-27 11:51:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.6 23.42 165.41 188.83 OK
r-devel-linux-x86_64-debian-gcc 0.1.6 18.60 123.18 141.78 OK
r-devel-linux-x86_64-fedora-clang 0.1.6 227.11 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.6 217.51 OK
r-devel-windows-x86_64 0.1.6 31.00 178.00 209.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.5 OK
r-patched-linux-x86_64 0.1.6 22.65 155.74 178.39 OK
r-patched-solaris-x86 0.1.6 299.40 OK
r-release-linux-x86_64 0.1.6 22.28 155.05 177.33 OK
r-release-macos-arm64 0.1.6 OK
r-release-macos-x86_64 0.1.6 OK
r-release-windows-ix86+x86_64 0.1.6 39.00 157.00 196.00 OK
r-oldrel-macos-x86_64 0.1.6 OK
r-oldrel-windows-ix86+x86_64 0.1.5 35.00 190.00 225.00 ERROR

Check Details

Version: 0.1.6
Check: package dependencies
Result: NOTE
    Imports includes 21 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'helper-objects.R' [7s]
     Running 'spelling.R' [0s]
     Running 'testthat.R' [6s]
    Running the tests in 'tests/helper-objects.R' failed.
    Complete output:
     > library(tune)
     Registered S3 method overwritten by 'tune':
     method from
     required_pkgs.model_spec parsnip
     > library(recipes)
     Loading required package: dplyr
    
     Attaching package: 'dplyr'
    
     The following objects are masked from 'package:stats':
    
     filter, lag
    
     The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    
     Attaching package: 'recipes'
    
     The following object is masked from 'package:stats':
    
     step
    
     > library(parsnip)
     > library(rsample)
     > library(workflows)
    
     Attaching package: 'workflows'
    
     The following object is masked from 'package:tune':
    
     extract_recipe
    
     > library(dplyr)
     > library(tidyr)
     > library(kernlab)
     > library(dials)
     Loading required package: scales
    
     Attaching package: 'scales'
    
     The following object is masked from 'package:kernlab':
    
     alpha
    
     > library(yardstick)
     For binary classification, the first factor level is assumed to be the event.
     Use the argument `event_level = "second"` to alter this as needed.
     >
     > data("Chicago", package = "dials")
     >
     > # ------------------------------------------------------------------------------
     >
     > spline_rec <-
     + recipe(ridership ~ ., data = head(Chicago)) %>%
     + step_date(date) %>%
     + step_holiday(date) %>%
     + step_rm(date, ends_with("away")) %>%
     + step_knnimpute(all_predictors(), neighbors = tune("imputation")) %>%
     + step_other(all_nominal(), threshold = tune()) %>%
     + step_dummy(all_nominal()) %>%
     + step_normalize(all_predictors()) %>%
     + step_bs(all_predictors(), deg_free = tune(), degree = tune())
     Warning message:
     `step_knnimpute()` was deprecated in recipes 0.1.16.
     Please use `step_impute_knn()` instead.
     >
     > bare_rec <-
     + recipe(ridership ~ ., data = head(Chicago))
     >
     > rm_rec <-
     + recipe(ridership ~ ., data = head(Chicago)) %>%
     + step_rm(date, ends_with("away"))
     >
     > ununtable_rec <-
     + recipe(ridership ~ ., data = head(Chicago)) %>%
     + step_dummy(all_nominal(), naming = tune())
     >
     > # ------------------------------------------------------------------------------
     >
     > bst_model <-
     + boost_tree(mode = "classification", trees = tune("funky name \n")) %>%
     + set_engine("C5.0", rules = tune(), noGlobalPruning = TRUE)
     >
     > lm_model <-
     + linear_reg() %>%
     + set_engine("lm")
     >
     > no_engine <- linear_reg()
     >
     > weird_annotation <-
     + boost_tree(mode = "regression", trees = tune("$^%&#!")) %>%
     + set_engine("C5.0", rules = TRUE, noGlobalPruning = TRUE)
     Error: Available modes for engine C5.0 are: 'unknown', 'classification'
     Backtrace:
     x
     1. +-`%>%`(...)
     2. \-parsnip::set_engine(., "C5.0", rules = TRUE, noGlobalPruning = TRUE)
     3. \-parsnip:::check_spec_mode_engine_val(...)
     4. \-parsnip:::stop_incompatible_mode(spec_modes, eng)
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64