Package check result: OK Changes to worse in reverse depends: Package: finetune Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [46s/47s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > suppressPackageStartupMessages(library(finetune)) > > # CRAN wants packages to be able to be check without the Suggests dependencies > if (rlang::is_installed(c("modeldata", "lme4", "testthat"))) { + suppressPackageStartupMessages(library(testthat)) + test_check("finetune") + } Saving _problems/test-anova-filter-64.R Saving _problems/test-condense_control-5.R Saving _problems/test-condense_control-17.R Saving _problems/test-race-control-37.R Saving _problems/test-race-s3-30.R Saving _problems/test-sa-control-53.R [ FAIL 6 | WARN 827 | SKIP 19 | PASS 114 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-anova-overall.R:2:3', 'test-anova-overall.R:28:3', 'test-anova-overall.R:51:3', 'test-anova-overall.R:74:1', 'test-race-control.R:15:1', 'test-sa-control.R:20:1', 'test-sa-misc.R:4:3', 'test-sa-misc.R:78:1', 'test-sa-overall.R:2:3', 'test-sa-overall.R:25:3', 'test-sa-overall.R:50:3', 'test-sa-overall.R:108:3', 'test-sa-overall.R:147:3', 'test-sa-overall.R:202:3', 'test-win-loss-filter.R:2:3', 'test-win-loss-overall.R:2:3', 'test-win-loss-overall.R:25:3', 'test-win-loss-overall.R:46:3', 'test-win-loss-overall.R:67:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-anova-filter.R:61:3'): anova filtering and logging ───────────── Error in `tune_race_anova_workflow(wflow, resamples = resamples, grid = grid, metrics = metrics, eval_time = eval_time, param_info = param_info, control = control)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. ├─finetune::tune_race_anova(spec, mpg ~ ., folds, grid = grid) 2. └─finetune:::tune_race_anova.model_spec(spec, mpg ~ ., folds, grid = grid) 3. └─finetune:::tune_race_anova_workflow(...) 4. └─parsnip::condense_control(control, tune::control_grid()) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) ── Error ('test-condense_control.R:2:3'): control_race works with condense_control ── Error in `eval(code, test_env)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-condense_control.R:2:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─parsnip::condense_control(control_race(), control_grid()) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) ── Error ('test-condense_control.R:14:3'): control_sim_anneal works with condense_control ── Error in `eval(code, test_env)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-condense_control.R:14:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─parsnip::condense_control(control_sim_anneal(), control_grid()) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) ── Error ('test-race-control.R:37:3'): casting control_race to control_grid ──── Error in `eval(code, test_env)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. └─parsnip::condense_control(control_race(), control_grid()) 2. └─cli::cli_abort(...) 3. └─rlang::abort(...) ── Error ('test-race-s3.R:23:3'): racing S3 methods ──────────────────────────── Error in `tune_race_anova_workflow(wflow, resamples = resamples, grid = grid, metrics = metrics, eval_time = eval_time, param_info = param_info, control = control)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. ├─finetune::tune_race_anova(...) at test-race-s3.R:23:3 2. └─finetune:::tune_race_anova.model_spec(...) 3. └─finetune:::tune_race_anova_workflow(...) 4. └─parsnip::condense_control(control, tune::control_grid()) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) ── Error ('test-sa-control.R:50:3'): casting control_sim_anneal to control_grid ── Error in `eval(code, test_env)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. └─parsnip::condense_control(control_sim_anneal(), control_grid()) 2. └─cli::cli_abort(...) 3. └─rlang::abort(...) [ FAIL 6 | WARN 827 | SKIP 19 | PASS 114 ] Error: ! Test failures. Execution halted Package: mrIML Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘mrIML.Rmd’ using rmarkdown Quitting from mrIML.Rmd:73-94 [fit-mrIML] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `tune_race_anova_workflow()`: ! a object cannot be coerced to a object. ℹ The argument `workflow_size` is missing. --- Backtrace: ▆ 1. └─base::eval(...) 2. └─base::eval(...) 3. ├─base::do.call(...) 4. └─``() 5. └─base::lapply(...) 6. └─FUN(X[[i]], ...) 7. └─mrIML (local) ...future.FUN(...future.X_jj, ...) 8. └─mrIML:::mrIML_internal_fit_function(...) 9. ├─finetune::tune_race_anova(mod_workflow, resamples = data_cv) 10. └─finetune:::tune_race_anova.workflow(mod_workflow, resamples = data_cv) 11. └─finetune:::tune_race_anova_workflow(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mrIML.Rmd' failed with diagnostics: a object cannot be coerced to a object. ℹ The argument `workflow_size` is missing. --- failed re-building ‘mrIML.Rmd’ SUMMARY: processing the following file failed: ‘mrIML.Rmd’ Error: Vignette re-building failed. Execution halted Package: mrIML Check: tests New result: ERROR Running ‘testthat.R’ [6s/6s] 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(mrIML) No methods found in package 'workflows' for request: 'predict.workflow' when loading 'mrIML' > > test_check("mrIML") | | | 0% | |================== | 25%Saving _problems/test-mrIMLpredicts-164.R [ FAIL 1 | WARN 3 | SKIP 4 | PASS 3 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-mrBootstrap.R:48:3', 'test-mrIMLpredicts.R:48:3', 'test-mrIMLpredicts.R:105:3', 'test-mrIMLpredicts.R:142:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-mrIMLpredicts.R:158:3'): expected dimensions of mrIML obj ────── Error in `tune_race_anova_workflow(object, resamples = resamples, grid = grid, metrics = metrics, eval_time = eval_time, param_info = param_info, control = control)`: a object cannot be coerced to a object. i The argument `workflow_size` is missing. Backtrace: ▆ 1. ├─mrIML::mrIMLpredicts(...) at test-mrIMLpredicts.R:158:3 2. │ └─future.apply::future_lapply(...) 3. │ └─future.apply:::future_xapply(...) 4. │ ├─base::tryCatch(...) 5. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ │ ├─base (local) tryCatchOne(...) 7. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. │ │ └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 9. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ └─future::future(...) 12. │ ├─future::run(future) 13. │ └─future:::run.Future(future) 14. │ ├─base::tryCatch(...) 15. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 16. │ │ ├─base (local) tryCatchOne(...) 17. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 18. │ │ └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 19. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 21. │ ├─future::launchFuture(backend, future = future) 22. │ └─future:::launchFuture.SequentialFutureBackend(backend, future = future) 23. │ └─future:::evalFuture(data) 24. │ ├─base::tryCatch(...) 25. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 26. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 27. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 28. │ └─future:::evalFutureInternal(data) 29. │ ├─base::tryCatch(...) 30. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 31. │ │ ├─base (local) tryCatchOne(...) 32. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 33. │ │ └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 34. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 35. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 36. │ ├─base::tryCatch(...) 37. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 38. │ ├─base::withCallingHandlers(...) 39. │ ├─base::withVisible(...) 40. │ └─base::eval(expr, envir = globalenv()) 41. │ └─base::eval(expr, envir = globalenv()) 42. ├─base::local(...) 43. │ └─base::eval.parent(substitute(eval(quote(expr), envir))) 44. │ └─base::eval(expr, p) 45. │ └─base::eval(expr, p) 46. └─base::eval(...) 47. └─base::eval(...) 48. ├─base::do.call(...) 49. └─``() 50. └─base::lapply(...) 51. └─FUN(X[[i]], ...) 52. └─mrIML (local) ...future.FUN(...future.X_jj, ...) 53. └─mrIML:::mrIML_internal_fit_function(...) 54. ├─finetune::tune_race_anova(mod_workflow, resamples = data_cv) 55. └─finetune:::tune_race_anova.workflow(mod_workflow, resamples = data_cv) 56. └─finetune:::tune_race_anova_workflow(...) 57. └─parsnip::condense_control(control, tune::control_grid()) 58. └─cli::cli_abort(...) 59. └─rlang::abort(...) [ FAIL 1 | WARN 3 | SKIP 4 | PASS 3 ] Error: ! Test failures. Execution halted