Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings #3

Open
klainfo opened this issue Dec 24, 2018 · 1 comment
Open

Fix warnings #3

klainfo opened this issue Dec 24, 2018 · 1 comment

Comments

@klainfo
Copy link
Member

klainfo commented Dec 24, 2018

==> R CMD INSTALL --no-multiarch --with-keep.source Rnalytica

  • installing to library ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library’
  • installing source package ‘Rnalytica’ ...
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** inst
    ** byte-compile and prepare package for lazy loading
    Warning: replacing previous import ‘Hmisc::impute’ by ‘e1071::impute’ when loading ‘Rnalytica’
    Warning: replacing previous import ‘car::vif’ by ‘rms::vif’ when loading ‘Rnalytica’
    ** help
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded
    Warning: replacing previous import ‘Hmisc::impute’ by ‘e1071::impute’ when loading ‘Rnalytica’
    Warning: replacing previous import ‘car::vif’ by ‘rms::vif’ when loading ‘Rnalytica’
  • DONE (Rnalytica)
@patanamon
Copy link
Member

I got an unclear error message.

> col = c('text_multinomial', 'text_gaussian')
> AutoSpearman(dataset = data, metrics = col)
Error in `$<-.data.frame`(`*tmp*`, "correlation", value = 100) : 
  replacement has 1 row, data has 0

I guess it is because there are only 2 metrics as an input. May need a more informative error message for a new user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants