HealthCatalyst / healthcareai-r

R tools for healthcare machine learning
https://docs.healthcare.ai
Other
245 stars 106 forks source link

healthcareai 2.4.0 Error: Can't find columns NA, NA in `.data`. #1289

Open genghiskhanofnz opened 4 years ago

genghiskhanofnz commented 4 years ago

Hi there Please advise how to fix this error. Thanks.

The problem: When run machine_learn() >>

quick_models <-

  • machine_learn(pima_diabetes, outcome = diabetes, patient_id) Training new data prep recipe...

Error: Can't find columns NA, NA in .data. Run rlang::last_error() to see where the error occurred. In addition: Warning message: All elements of ... must be named. Did you want data = c(type, role, source)?

devtools::session_info()

  • Session info --------------------------------------------------------------------------------------------------------- setting value
    version R version 3.6.3 (2020-02-29) os Windows 10 x64
    system x86_64, mingw32
    ui RStudio
    language (EN)
    collate English_Australia.1252
    ctype English_Australia.1252
    tz Australia/Sydney
    date 2020-04-23

[1] C:/Users/mazzrz/Documents/R/win-library/3.6 [2] C:/Users/mazzrz/Documents/R/R-3.6.3/library