Last updated on 2025-12-09 23:52:00 CET.
| Package | ERROR | WARN | NOTE | OK |
|---|---|---|---|---|
| baguette | 13 | |||
| brulee | 13 | |||
| butcher | 6 | 7 | ||
| desirability2 | 13 | |||
| finetune | 13 | |||
| important | 13 | |||
| modeldata | 3 | 10 | ||
| modeldb | 13 | |||
| parsnip | 13 | |||
| probably | 13 | |||
| recipes | 1 | 12 | ||
| tailor | 13 | |||
| tidymodels | 13 | |||
| tidyposterior | 13 | |||
| tune | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 6, OK: 7
Version: 0.3.6
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-flexsurvreg
> ### Title: Axing an flexsurvreg.
> ### Aliases: axe-flexsurvreg axe_call.flexsurvreg axe_env.flexsurvreg
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("flexsurv")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(flexsurv)
+
+ # Create model and fit
+ flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>%
+ fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
+
+ out <- butcher(flexsurvreg_fit, verbose = TRUE)
+
+ # Another flexsurvreg model object
+ wrapped_flexsurvreg <- function() {
+ some_junk_in_environment <- runif(1e6)
+ fit <- flexsurvreg(Surv(futime, fustat) ~ 1,
+ data = ovarian, dist = "weibull")
+ return(fit)
+ }
+
+ out <- butcher(wrapped_flexsurvreg(), verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(flexsurv)
Loading required package: survival
> flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>% fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
Error:
! `surv_reg()` was deprecated in parsnip 1.4.0 and is now defunct.
ℹ Please use `survival_reg()` instead.
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. ├─... %>% ...
7. ├─generics::fit(., Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
8. ├─parsnip::set_engine(., "flexsurv")
9. └─parsnip::surv_reg(mode = "regression", dist = "gengamma")
10. └─lifecycle::deprecate_stop("1.4.0", "surv_reg()", "survival_reg()")
11. └─lifecycle:::deprecate_stop0(msg)
12. └─rlang::cnd_signal(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
axe-C5.0 4.209 0.318 5.858
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.3.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [22s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(butcher)
>
> test_check("butcher")
1 package (dimRed) is needed for this step but is not installed.
To install run: `install.packages("dimRed")`
Saving _problems/test-xrf-12.R
Saving _problems/test-xrf-25.R
Saving _problems/test-xrf-40.R
Saving _problems/test-xrf-58.R
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
══ Skipped tests (35) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:2:3', 'test-earth.R:2:3', 'test-earth.R:31:3',
'test-elnet.R:2:3', 'test-flexsurvreg.R:2:3', 'test-flexsurvreg.R:15:3',
'test-flexsurvreg.R:43:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3',
'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:17:3', 'test-ksvm.R:2:3',
'test-mda.R:2:3', 'test-mda.R:23:3', 'test-mda.R:95:3',
'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:38:3',
'test-multnet.R:2:3', 'test-nnet.R:2:3', 'test-randomForest.R:2:3',
'test-rpart.R:2:3', 'test-rpart.R:18:3', 'test-sclass.R:2:3',
'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-train.R:2:3',
'test-train.R:42:3', 'test-train.recipe.R:9:3', 'test-ui.R:1:1',
'test-weigh.R:1:1', 'test-xgb.R:6:3', 'test-xgb.R:34:3'
• {mixOmics} is not installed (1): 'test-recipe.R:419:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-xrf.R:12:3'): xrf + axe_call() works ─────────────────────────
Expected `x$xgb$call` to equal `rlang::expr(dummy_call())`.
Differences:
`actual` is NULL
`expected` is a call
── Error ('test-xrf.R:25:3'): xrf + axe_env() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. ├─butcher::axe_env(res) at test-xrf.R:25:3
2. └─butcher:::axe_env.xrf(res)
3. ├─butcher::axe_env(res$xgb, ...)
4. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:40:3'): xrf + butcher() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:40:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:58:3'): xrf + predict() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:58:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.3.6
Check: examples
Result: ERROR
Running examples in 'butcher-Ex.R' failed
The error most likely occurred in:
> ### Name: axe-flexsurvreg
> ### Title: Axing an flexsurvreg.
> ### Aliases: axe-flexsurvreg axe_call.flexsurvreg axe_env.flexsurvreg
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("flexsurv")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(flexsurv)
+
+ # Create model and fit
+ flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>%
+ fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
+
+ out <- butcher(flexsurvreg_fit, verbose = TRUE)
+
+ # Another flexsurvreg model object
+ wrapped_flexsurvreg <- function() {
+ some_junk_in_environment <- runif(1e6)
+ fit <- flexsurvreg(Surv(futime, fustat) ~ 1,
+ data = ovarian, dist = "weibull")
+ return(fit)
+ }
+
+ out <- butcher(wrapped_flexsurvreg(), verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(flexsurv)
Loading required package: survival
> flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>% fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
Error:
! `surv_reg()` was deprecated in parsnip 1.4.0 and is now defunct.
ℹ Please use `survival_reg()` instead.
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. ├─... %>% ...
7. ├─generics::fit(., Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
8. ├─parsnip::set_engine(., "flexsurv")
9. └─parsnip::surv_reg(mode = "regression", dist = "gengamma")
10. └─lifecycle::deprecate_stop("1.4.0", "surv_reg()", "survival_reg()")
11. └─lifecycle:::deprecate_stop0(msg)
12. └─rlang::cnd_signal(...)
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.3.6
Check: tests
Result: ERROR
Running 'testthat.R' [20s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(butcher)
>
> test_check("butcher")
1 package (dimRed) is needed for this step but is not installed.
To install run: `install.packages("dimRed")`
Saving _problems/test-xrf-12.R
Saving _problems/test-xrf-25.R
Saving _problems/test-xrf-40.R
Saving _problems/test-xrf-58.R
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
══ Skipped tests (35) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:2:3', 'test-earth.R:2:3', 'test-earth.R:31:3',
'test-elnet.R:2:3', 'test-flexsurvreg.R:2:3', 'test-flexsurvreg.R:15:3',
'test-flexsurvreg.R:43:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3',
'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:17:3', 'test-ksvm.R:2:3',
'test-mda.R:2:3', 'test-mda.R:23:3', 'test-mda.R:95:3',
'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:38:3',
'test-multnet.R:2:3', 'test-nnet.R:2:3', 'test-randomForest.R:2:3',
'test-rpart.R:2:3', 'test-rpart.R:18:3', 'test-sclass.R:2:3',
'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-train.R:2:3',
'test-train.R:42:3', 'test-train.recipe.R:9:3', 'test-ui.R:1:1',
'test-weigh.R:1:1', 'test-xgb.R:6:3', 'test-xgb.R:34:3'
• {mixOmics} is not installed (1): 'test-recipe.R:419:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-xrf.R:12:3'): xrf + axe_call() works ─────────────────────────
Expected `x$xgb$call` to equal `rlang::expr(dummy_call())`.
Differences:
`actual` is NULL
`expected` is a call
── Error ('test-xrf.R:25:3'): xrf + axe_env() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. ├─butcher::axe_env(res) at test-xrf.R:25:3
2. └─butcher:::axe_env.xrf(res)
3. ├─butcher::axe_env(res$xgb, ...)
4. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:40:3'): xrf + butcher() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:40:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:58:3'): xrf + predict() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:58:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.3.6
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-flexsurvreg
> ### Title: Axing an flexsurvreg.
> ### Aliases: axe-flexsurvreg axe_call.flexsurvreg axe_env.flexsurvreg
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("flexsurv")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(flexsurv)
+
+ # Create model and fit
+ flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>%
+ fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
+
+ out <- butcher(flexsurvreg_fit, verbose = TRUE)
+
+ # Another flexsurvreg model object
+ wrapped_flexsurvreg <- function() {
+ some_junk_in_environment <- runif(1e6)
+ fit <- flexsurvreg(Surv(futime, fustat) ~ 1,
+ data = ovarian, dist = "weibull")
+ return(fit)
+ }
+
+ out <- butcher(wrapped_flexsurvreg(), verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(flexsurv)
Loading required package: survival
> flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>% fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
Error:
! `surv_reg()` was deprecated in parsnip 1.4.0 and is now defunct.
ℹ Please use `survival_reg()` instead.
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. ├─... %>% ...
7. ├─generics::fit(., Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
8. ├─parsnip::set_engine(., "flexsurv")
9. └─parsnip::surv_reg(mode = "regression", dist = "gengamma")
10. └─lifecycle::deprecate_stop("1.4.0", "surv_reg()", "survival_reg()")
11. └─lifecycle:::deprecate_stop0(msg)
12. └─rlang::cnd_signal(...)
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.3.6
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-flexsurvreg
> ### Title: Axing an flexsurvreg.
> ### Aliases: axe-flexsurvreg axe_call.flexsurvreg axe_env.flexsurvreg
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("flexsurv")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # Load libraries
+ library(parsnip)
+ library(flexsurv)
+
+ # Create model and fit
+ flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>%
+ fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
+
+ out <- butcher(flexsurvreg_fit, verbose = TRUE)
+
+ # Another flexsurvreg model object
+ wrapped_flexsurvreg <- function() {
+ some_junk_in_environment <- runif(1e6)
+ fit <- flexsurvreg(Surv(futime, fustat) ~ 1,
+ data = ovarian, dist = "weibull")
+ return(fit)
+ }
+
+ out <- butcher(wrapped_flexsurvreg(), verbose = TRUE)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(flexsurv)
Loading required package: survival
> flexsurvreg_fit <- surv_reg(mode = "regression", dist = "gengamma") %>%
+ set_engine("flexsurv") %>% fit(Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
Error:
! `surv_reg()` was deprecated in parsnip 1.4.0 and is now defunct.
ℹ Please use `survival_reg()` instead.
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. ├─... %>% ...
7. ├─generics::fit(., Surv(Tstart, Tstop, status) ~ trans, data = bosms3)
8. ├─parsnip::set_engine(., "flexsurv")
9. └─parsnip::surv_reg(mode = "regression", dist = "gengamma")
10. └─lifecycle::deprecate_stop("1.4.0", "surv_reg()", "survival_reg()")
11. └─lifecycle:::deprecate_stop0(msg)
12. └─rlang::cnd_signal(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
axe-C5.0 4.408 0.271 6.37
Flavor: r-release-linux-x86_64
Version: 0.3.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [21s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(butcher)
>
> test_check("butcher")
1 package (dimRed) is needed for this step but is not installed.
To install run: `install.packages("dimRed")`
Saving _problems/test-xrf-12.R
Saving _problems/test-xrf-25.R
Saving _problems/test-xrf-40.R
Saving _problems/test-xrf-58.R
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
══ Skipped tests (35) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:2:3', 'test-earth.R:2:3', 'test-earth.R:31:3',
'test-elnet.R:2:3', 'test-flexsurvreg.R:2:3', 'test-flexsurvreg.R:15:3',
'test-flexsurvreg.R:43:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3',
'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:17:3', 'test-ksvm.R:2:3',
'test-mda.R:2:3', 'test-mda.R:23:3', 'test-mda.R:95:3',
'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:38:3',
'test-multnet.R:2:3', 'test-nnet.R:2:3', 'test-randomForest.R:2:3',
'test-rpart.R:2:3', 'test-rpart.R:18:3', 'test-sclass.R:2:3',
'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-train.R:2:3',
'test-train.R:42:3', 'test-train.recipe.R:9:3', 'test-ui.R:1:1',
'test-weigh.R:1:1', 'test-xgb.R:6:3', 'test-xgb.R:34:3'
• {mixOmics} is not installed (1): 'test-recipe.R:419:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-xrf.R:12:3'): xrf + axe_call() works ─────────────────────────
Expected `x$xgb$call` to equal `rlang::expr(dummy_call())`.
Differences:
`actual` is NULL
`expected` is a call
── Error ('test-xrf.R:25:3'): xrf + axe_env() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. ├─butcher::axe_env(res) at test-xrf.R:25:3
2. └─butcher:::axe_env.xrf(res)
3. ├─butcher::axe_env(res$xgb, ...)
4. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:40:3'): xrf + butcher() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:40:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:58:3'): xrf + predict() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:58:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.3.6
Check: tests
Result: ERROR
Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(butcher)
>
> test_check("butcher")
1 package (dimRed) is needed for this step but is not installed.
To install run: `install.packages("dimRed")`
Saving _problems/test-xrf-12.R
Saving _problems/test-xrf-25.R
Saving _problems/test-xrf-40.R
Saving _problems/test-xrf-58.R
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
══ Skipped tests (35) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:2:3', 'test-earth.R:2:3', 'test-earth.R:31:3',
'test-elnet.R:2:3', 'test-flexsurvreg.R:2:3', 'test-flexsurvreg.R:15:3',
'test-flexsurvreg.R:43:3', 'test-gausspr.R:2:3', 'test-glmnet.R:2:3',
'test-kknn.R:2:3', 'test-klaR.R:2:3', 'test-klaR.R:17:3', 'test-ksvm.R:2:3',
'test-mda.R:2:3', 'test-mda.R:23:3', 'test-mda.R:95:3',
'test-mixOmics.R:2:3', 'test-mixOmics.R:21:3', 'test-mixOmics.R:38:3',
'test-multnet.R:2:3', 'test-nnet.R:2:3', 'test-randomForest.R:2:3',
'test-rpart.R:2:3', 'test-rpart.R:18:3', 'test-sclass.R:2:3',
'test-survreg.R:2:3', 'test-survreg.penal.R:2:3', 'test-train.R:2:3',
'test-train.R:42:3', 'test-train.recipe.R:9:3', 'test-ui.R:1:1',
'test-weigh.R:1:1', 'test-xgb.R:6:3', 'test-xgb.R:34:3'
• {mixOmics} is not installed (1): 'test-recipe.R:419:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-xrf.R:12:3'): xrf + axe_call() works ─────────────────────────
Expected `x$xgb$call` to equal `rlang::expr(dummy_call())`.
Differences:
`actual` is NULL
`expected` is a call
── Error ('test-xrf.R:25:3'): xrf + axe_env() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. ├─butcher::axe_env(res) at test-xrf.R:25:3
2. └─butcher:::axe_env.xrf(res)
3. ├─butcher::axe_env(res$xgb, ...)
4. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:40:3'): xrf + butcher() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:40:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
── Error ('test-xrf.R:58:3'): xrf + predict() works ────────────────────────────
Error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x), body(x)), env = rlang::base_env()))`: ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
Backtrace:
▆
1. └─butcher::butcher(res) at test-xrf.R:58:3
2. ├─butcher::axe_env(x, verbose = FALSE, ...)
3. └─butcher:::axe_env.xrf(x, verbose = FALSE, ...)
4. ├─butcher::axe_env(res$xgb, ...)
5. └─butcher:::axe_env.xgb.Booster(res$xgb, ...)
[ FAIL 4 | WARN 0 | SKIP 35 | PASS 196 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: NOTE: 3, OK: 10
Version: 1.5.1
Check: installed package size
Result: NOTE
installed size is 5.4Mb
sub-directories of 1Mb or more:
data 5.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: WARN: 1, OK: 12
Version: 1.3.1
Check: Rd files
Result: WARN
cannot open the connection
remove_original_cols.Rd: Sections \title, and \name must exist and be unique in Rd files
problems found in ‘reexports.Rd’, ‘remove_original_cols.Rd’
Flavor: r-release-macos-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13