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

Not all dependencies installed #6

Open
memilanuk opened this issue Apr 29, 2020 · 2 comments
Open

Not all dependencies installed #6

memilanuk opened this issue Apr 29, 2020 · 2 comments

Comments

@memilanuk
Copy link

Did a fresh install of R v4.0.0 on Windows 10 along with Rstudio and Rtools. Installed the shotGroups package, and opted to have it pull any necessary dependencies.

The first time I went to run analyzeGroups, I got the following error messages:

Warning messages:
1: In groupShape.default(xy, plots = TRUE, bandW = bandW, outlier = "mcd",  :
  Package mvoutlier is not installed
2: In groupShape.default(xy, plots = TRUE, bandW = bandW, outlier = "mcd",  :
  Package energy for multivariate normality test not installed

Installing those two packages pulled in a bunch more packages...

> install.packages(c("mvoutlier", "energy"))
Installing packages into ‘C:/Users/memil/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘clipr’, ‘rematch’, ‘forcats’, ‘readr’, ‘cellranger’, ‘zip’, ‘SparseM’, ‘MatrixModels’, ‘haven’, ‘curl’, ‘readxl’, ‘openxlsx’, ‘minqa’, ‘nloptr’, ‘statmod’, ‘hms’, ‘BH’, ‘plogr’, ‘carData’, ‘abind’, ‘pbkrtest’, ‘quantreg’, ‘maptools’, ‘rio’, ‘lme4’, ‘pcaPP’, ‘flexmix’, ‘prabclus’, ‘diptest’, ‘plyr’, ‘progress’, ‘reshape’, ‘dplyr’, ‘purrr’, ‘tidyselect’, ‘sp’, ‘laeken’, ‘ranger’, ‘NADA’, ‘truncnorm’, ‘stringr’, ‘pls’, ‘data.table’, ‘car’, ‘cvTools’, ‘e1071’, ‘rrcov’, ‘fpc’, ‘GGally’, ‘kernlab’, ‘mclust’, ‘sROC’, ‘tidyr’, ‘VIM’, ‘zCompositions’, ‘reshape2’, ‘RcppEigen’, ‘sgeostat’, ‘robCompositions’
@dwoll
Copy link
Owner

dwoll commented Apr 29, 2020

Packages mvoutlier and energy are not automatically installed together with shotGroups as they are dependency-heavy (as you observed). energy requires Rcpp, a fairly large download. mvoutlier requires robCompositions, which in turn relies on a really large number of other packages.

For these reasons, the two packages must be installed explicitly by the user. In commit eb9b887, I now expanded the warning message to make the user aware that the packages need to be installed separately, and that doing so triggers a long installation process.

@dwoll
Copy link
Owner

dwoll commented Apr 29, 2020

If you want to test the development version with this change, you can install it using remotes::install_github("dwoll/shotGroups")

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