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
Hi there Please advise how to fix this error. Thanks.
The problem: When run machine_learn() >>
Error: Can't find columns NA, NA in
.data
. Runrlang::last_error()
to see where the error occurred. In addition: Warning message: All elements of...
must be named. Did you wantdata = c(type, role, source)
?assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.3) backports 1.1.2 2017-12-13 [1] CRAN (R 3.5.0) base64enc 0.1-3 2015-07-28 [1] CRAN (R 3.5.0) bitops 1.0-6 2013-08-17 [1] CRAN (R 3.5.0) callr 3.0.0 2018-08-24 [1] CRAN (R 3.5.1) caret 6.0-84 2019-04-27 [1] CRAN (R 3.6.1) caTools 1.17.1.1 2018-07-20 [1] CRAN (R 3.5.1) class 7.3-15 2019-01-01 [2] CRAN (R 3.6.3) cli 2.0.2 2020-02-28 [1] CRAN (R 3.6.3) codetools 0.2-16 2018-12-24 [2] CRAN (R 3.6.3) colorspace 1.3-2 2016-12-14 [1] CRAN (R 3.5.1) cowplot 1.0.0 2019-07-11 [1] CRAN (R 3.6.3) crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.1) data.table 1.12.8 2019-12-09 [1] CRAN (R 3.6.2) desc 1.2.0 2018-05-01 [1] CRAN (R 3.5.1) devtools 2.0.0 2018-10-19 [1] CRAN (R 3.5.1) digest 0.6.25 2020-02-23 [1] CRAN (R 3.6.3) dplyr 0.8.5 2020-03-07 [1] CRAN (R 3.6.3) e1071 1.7-0 2018-07-28 [1] CRAN (R 3.5.1) evaluate 0.13 2019-02-12 [1] CRAN (R 3.5.3) fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.3) foreach 1.4.4 2017-12-12 [1] CRAN (R 3.5.1) fs 1.2.6 2018-08-23 [1] CRAN (R 3.5.1) gdata 2.18.0 2017-06-06 [1] CRAN (R 3.5.1) generics 0.0.2 2018-11-29 [1] CRAN (R 3.6.1) ggplot2 3.3.0 2020-03-05 [1] CRAN (R 3.6.3) glmnet 2.0-16 2018-04-02 [1] CRAN (R 3.5.1) glue 1.3.2 2020-03-12 [1] CRAN (R 3.6.3) gower 0.1.2 2017-02-23 [1] CRAN (R 3.5.1) gplots 3.0.1 2016-03-30 [1] CRAN (R 3.5.1) gtable 0.2.0 2016-02-26 [1] CRAN (R 3.5.1) gtools 3.8.1 2018-06-26 [1] CRAN (R 3.5.0) healthcareai 2.4.0 2020-02-28 [1] CRAN (R 3.6.3) htmltools 0.3.6 2017-04-28 [1] CRAN (R 3.5.1) ipred 0.9-7 2018-08-14 [1] CRAN (R 3.5.1) iterators 1.0.10 2018-07-13 [1] CRAN (R 3.5.1) KernSmooth 2.23-16 2019-10-15 [2] CRAN (R 3.6.3) knitr 1.28 2020-02-06 [1] CRAN (R 3.6.3) lattice 0.20-38 2018-11-04 [2] CRAN (R 3.6.3) lava 1.6.3 2018-08-10 [1] CRAN (R 3.5.1) lifecycle 0.1.0 2019-08-01 [1] CRAN (R 3.6.2) lubridate 1.7.4 2018-04-11 [1] CRAN (R 3.5.1) magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.1) MASS 7.3-51.5 2019-12-20 [2] CRAN (R 3.6.3) Matrix 1.2-18 2019-11-27 [2] CRAN (R 3.6.3) memoise 1.1.0 2017-04-21 [1] CRAN (R 3.5.1) MLmetrics 1.1.1 2016-05-13 [1] CRAN (R 3.5.1) ModelMetrics 1.2.0 2018-08-10 [1] CRAN (R 3.5.1) munsell 0.5.0 2018-06-12 [1] CRAN (R 3.5.1) nlme 3.1-144 2020-02-06 [2] CRAN (R 3.6.3) nnet 7.3-12 2016-02-02 [2] CRAN (R 3.6.3) pillar 1.4.3 2019-12-20 [1] CRAN (R 3.6.2) pkgbuild 1.0.2 2018-10-16 [1] CRAN (R 3.5.1) pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 3.6.3) pkgload 1.0.1 2018-10-11 [1] CRAN (R 3.5.1) plyr 1.8.4 2016-06-08 [1] CRAN (R 3.5.1) prettyunits 1.0.2 2015-07-13 [1] CRAN (R 3.5.1) processx 3.2.0 2018-08-16 [1] CRAN (R 3.5.1) prodlim 2018.04.18 2018-04-18 [1] CRAN (R 3.5.1) ps 1.2.0 2018-10-16 [1] CRAN (R 3.5.1) purrr 0.3.3 2019-10-18 [1] CRAN (R 3.6.3) R6 2.3.0 2018-10-04 [1] CRAN (R 3.5.1) ranger 0.10.1 2018-06-04 [1] CRAN (R 3.5.1) Rcpp 1.0.4 2020-03-17 [1] CRAN (R 3.6.3) recipes 0.1.6 2019-07-02 [1] CRAN (R 3.6.1) remotes 2.1.1 2020-02-15 [1] CRAN (R 3.6.3) reshape2 1.4.3 2017-12-11 [1] CRAN (R 3.5.1) rlang 0.4.5 2020-03-01 [1] CRAN (R 3.6.3) rmarkdown 2.1 2020-01-20 [1] CRAN (R 3.6.2) ROCR 1.0-7 2015-03-26 [1] CRAN (R 3.5.1) rpart 4.1-15 2019-04-12 [2] CRAN (R 3.6.3) rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.1) rstudioapi 0.8 2018-10-02 [1] CRAN (R 3.5.1) scales 1.1.0 2019-11-18 [1] CRAN (R 3.6.2) sessioninfo 1.1.0 2018-09-25 [1] CRAN (R 3.5.1) stringi 1.2.4 2018-07-20 [1] CRAN (R 3.5.1) stringr 1.3.1 2018-05-10 [1] CRAN (R 3.5.1) survival 3.1-8 2019-12-03 [2] CRAN (R 3.6.3) testthat 2.3.2 2020-03-02 [1] CRAN (R 3.6.3) tibble 2.1.3 2019-06-06 [1] CRAN (R 3.6.2) tidyr 1.0.2 2020-01-24 [1] CRAN (R 3.6.2) tidyselect 0.2.5 2018-10-11 [1] CRAN (R 3.5.1) timeDate 3043.102 2018-02-21 [1] CRAN (R 3.5.1) tinytex 0.13 2019-05-14 [1] CRAN (R 3.5.3) usethis 1.4.0 2018-08-14 [1] CRAN (R 3.5.1) utf8 1.1.4 2018-05-24 [1] CRAN (R 3.5.1) vctrs 0.2.4 2020-03-10 [1] CRAN (R 3.6.3) withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.1) xfun 0.7 2019-05-14 [1] CRAN (R 3.5.3) xgboost 0.71.2 2018-06-09 [1] CRAN (R 3.5.1) yaml 2.2.0 2018-07-25 [1] CRAN (R 3.5.1)
[1] C:/Users/mazzrz/Documents/R/win-library/3.6 [2] C:/Users/mazzrz/Documents/R/R-3.6.3/library