CRAN Package Check Results for Package healthcareai

Last updated on 2022-07-18 07:49:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.5.0 22.99 190.88 213.87 ERROR
r-devel-linux-x86_64-debian-gcc 2.5.0 20.01 138.01 158.02 ERROR
r-devel-linux-x86_64-fedora-clang 2.5.0 252.97 ERROR
r-devel-linux-x86_64-fedora-gcc 2.5.0 261.61 ERROR
r-devel-windows-x86_64 2.5.0 146.00 200.00 346.00 ERROR
r-patched-linux-x86_64 2.5.0 24.77 173.19 197.96 ERROR
r-release-linux-x86_64 2.5.0 14.67 179.92 194.59 ERROR
r-release-macos-arm64 2.5.0 81.00 OK
r-release-macos-x86_64 2.5.0 144.00 OK
r-release-windows-x86_64 2.5.0 139.00 193.00 332.00 ERROR
r-oldrel-macos-arm64 2.5.0 101.00 OK
r-oldrel-macos-x86_64 2.5.0 172.00 OK
r-oldrel-windows-ix86+x86_64 2.5.0 48.00 192.00 240.00 ERROR

Check Details

Version: 2.5.0
Check: examples
Result: ERROR
    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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.5.0
Check: examples
Result: ERROR
    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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-patched-linux-x86_64

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-release-linux-x86_64

Version: 2.5.0
Check: tests
Result: ERROR
     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
Flavor: r-oldrel-windows-ix86+x86_64