Last updated on 2024-11-03 15:48:17 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.4 | 3.46 | 111.49 | 114.95 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.3.4 | 0.33 | 1.88 | 2.21 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.3.4 | 190.05 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.4 | 200.47 | OK | |||
r-devel-windows-x86_64 | 0.3.4 | 5.00 | 134.00 | 139.00 | OK | |
r-patched-linux-x86_64 | 0.3.4 | 5.95 | 105.17 | 111.12 | OK | |
r-release-linux-x86_64 | 0.3.4 | 2.76 | 56.83 | 59.59 | ERROR | |
r-release-macos-arm64 | 0.3.4 | 66.00 | OK | |||
r-release-macos-x86_64 | 0.3.4 | 94.00 | OK | |||
r-release-windows-x86_64 | 0.3.4 | 5.00 | 137.00 | 142.00 | OK | |
r-oldrel-macos-arm64 | 0.3.4 | 64.00 | OK | |||
r-oldrel-macos-x86_64 | 0.3.4 | 137.00 | OK | |||
r-oldrel-windows-x86_64 | 0.3.4 | 5.00 | 177.00 | 182.00 | OK |
Version: 0.3.4
Check: whether package can be installed
Result: ERROR
Installation failed.
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.3.4
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking:
'C50', 'caret', 'ClusterR', 'ddalpha', 'flexsurv', 'ipred', 'klaR',
'nestedmodels', 'ranger', 'recipes', 'RSpectra', 'xrf'
Flavor: r-release-linux-x86_64
Version: 0.3.4
Check: examples
Result: ERROR
Running examples in ‘butcher-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: axe-C5.0
> ### Title: Axing a C5.0.
> ### Aliases: axe-C5.0 axe_call.C5.0 axe_ctrl.C5.0 axe_fitted.C5.0
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed(c("parsnip", "rsample", "rpart"))) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(rsample)
+ library(rpart)
+
+ # Load data
+ set.seed(1234)
+ split <- initial_split(kyphosis, prop = 9/10)
+ spine_train <- training(split)
+
+ # Create model and fit
+ c5_fit <- decision_tree(mode = "classification") %>%
+ set_engine("C5.0") %>%
+ fit(Kyphosis ~ ., data = spine_train)
+
+ out <- butcher(c5_fit, verbose = TRUE)
+
+ # Try another model from parsnip
+ c5_fit2 <- boost_tree(mode = "classification", trees = 100) %>%
+ set_engine("C5.0") %>%
+ fit(Kyphosis ~ ., data = spine_train)
+ out <- butcher(c5_fit2, verbose = TRUE)
+
+ # Create model object from original library
+ library(C50)
+ library(modeldata)
+ data(mlc_churn)
+ c5_fit3 <- C5.0(x = mlc_churn[, -20], y = mlc_churn$churn)
+ out <- butcher(c5_fit3, verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(rsample)
> library(rpart)
> set.seed(1234)
> split <- initial_split(kyphosis, prop = 9/10)
> spine_train <- training(split)
> c5_fit <- decision_tree(mode = "classification") %>% set_engine("C5.0") %>%
+ fit(Kyphosis ~ ., data = spine_train)
Error in `check_installs()`:
! This engine requires some package installs: 'C50'
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. ├─... %>% fit(Kyphosis ~ ., data = spine_train)
7. ├─generics::fit(., Kyphosis ~ ., data = spine_train)
8. └─parsnip::fit.model_spec(., Kyphosis ~ ., data = spine_train)
9. └─parsnip:::check_installs(object)
10. └─rlang::abort(...)
Execution halted
Flavor: r-release-linux-x86_64