Running examples in 'healthcareai-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running 'testthat-1.R' [0s/1s]
  Running 'testthat-2.R' [0s/1s]
  Running 'testthat-3.R' [0s/1s]
  Running 'testthat-4.R' [0s/1s]
  Running 'testthat-5.R' [7s/9s]
Running the tests in 'tests/testthat-5.R' failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  == Failed tests ================================================================
  -- Error (test-cran_only.R:4:3): the fundamentals work -------------------------
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      x
   1. +-healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. | \-healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. |   \-recipe %>% hcai_impute()
   4. \-healthcareai::hcai_impute(.)
   5.   \-recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     \-lifecycle::deprecate_stop(...)
   7.       \-lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in ‘healthcareai-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running ‘testthat-1.R’ [0s/1s]
  Running ‘testthat-2.R’ [0s/1s]
  Running ‘testthat-3.R’ [0s/1s]
  Running ‘testthat-4.R’ [0s/1s]
  Running ‘testthat-5.R’ [5s/9s]
Running the tests in ‘tests/testthat-5.R’ failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in ‘healthcareai-Ex.R’ failed
The error most likely occurred in:

> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running ‘testthat-1.R’
  Running ‘testthat-2.R’
  Running ‘testthat-3.R’
  Running ‘testthat-4.R’
  Running ‘testthat-5.R’ [8s/10s]
Running the tests in ‘tests/testthat-5.R’ failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in ‘healthcareai-Ex.R’ failed
The error most likely occurred in:

> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running ‘testthat-1.R’
  Running ‘testthat-2.R’
  Running ‘testthat-3.R’
  Running ‘testthat-4.R’
  Running ‘testthat-5.R’ [8s/12s]
Running the tests in ‘tests/testthat-5.R’ failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in 'healthcareai-Ex.R' failed
The error most likely occurred in:

> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running 'testthat-1.R' [0s]
  Running 'testthat-2.R' [0s]
  Running 'testthat-3.R' [0s]
  Running 'testthat-4.R' [0s]
  Running 'testthat-5.R' [7s]
Running the tests in 'tests/testthat-5.R' failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in ‘healthcareai-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running ‘testthat-1.R’ [0s/1s]
  Running ‘testthat-2.R’ [0s/1s]
  Running ‘testthat-3.R’ [0s/1s]
  Running ‘testthat-4.R’ [0s/1s]
  Running ‘testthat-5.R’ [7s/8s]
Running the tests in ‘tests/testthat-5.R’ failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in ‘healthcareai-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running ‘testthat-1.R’ [0s/1s]
  Running ‘testthat-2.R’ [0s/1s]
  Running ‘testthat-3.R’ [0s/1s]
  Running ‘testthat-4.R’ [0s/1s]
  Running ‘testthat-5.R’ [6s/8s]
Running the tests in ‘tests/testthat-5.R’ failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in 'healthcareai-Ex.R' failed
The error most likely occurred in:

> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running 'testthat-1.R' [0s]
  Running 'testthat-2.R' [0s]
  Running 'testthat-3.R' [0s]
  Running 'testthat-4.R' [0s]
  Running 'testthat-5.R' [7s]
Running the tests in 'tests/testthat-5.R' failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-cran_only.R:4:3): the fundamentals work ─────────────────────────
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      ▆
   1. ├─healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. │ └─healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. │   └─recipe %>% hcai_impute()
   4. └─healthcareai::hcai_impute(.)
   5.   └─recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     └─lifecycle::deprecate_stop(...)
   7.       └─lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running examples in 'healthcareai-Ex.R' failed
The error most likely occurred in:

> ### Name: evaluate
> ### Title: Get model performance metrics
> ### Aliases: evaluate evaluate.predicted_df evaluate.model_list
> 
> ### ** Examples
> 
> models <- machine_learn(pima_diabetes[1:40, ],
+                        patient_id,
+                        outcome = diabetes,
+                        models = c("XGB", "RF"),
+                        tune = FALSE,
+                        n_folds = 3)
Training new data prep recipe...

Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
Please use `step_impute_mean()` instead.
Execution halted
Running 'testthat-1.R' [0s]
  Running 'testthat-2.R' [0s]
  Running 'testthat-3.R' [0s]
  Running 'testthat-4.R' [0s]
  Running 'testthat-5.R' [8s]
Running the tests in 'tests/testthat-5.R' failed.
Complete output:
  > if (!identical(Sys.getenv("NOT_CRAN"), "true")) {
  +   library(testthat)
  +   library(healthcareai)
  +   Sys.setenv("R_TESTS" = "")
  +   test_check("healthcareai", filter = "cran_only")
  + }
  healthcareai version 2.5.0
  Please visit https://docs.healthcare.ai for full documentation and vignettes. Join the community at https://healthcare-ai.slack.com
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  == Failed tests ================================================================
  -- Error (test-cran_only.R:4:3): the fundamentals work -------------------------
  <lifecycle_error_deprecated/defunctError/error/condition/condition>
  Error: `step_meanimpute()` was deprecated in recipes 0.1.16 and is now defunct.
  Please use `step_impute_mean()` instead.
  Backtrace:
      x
   1. +-healthcareai::machine_learn(...) at test-cran_only.R:4:2
   2. | \-healthcareai::prep_data(d, !!!dots, outcome = !!outcome, impute = impute)
   3. |   \-recipe %>% hcai_impute()
   4. \-healthcareai::hcai_impute(.)
   5.   \-recipes::step_meanimpute(recipe, all_numeric(), -all_outcomes())
   6.     \-lifecycle::deprecate_stop(...)
   7.       \-lifecycle:::deprecate_stop0(msg)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted