Hello,
I tried to install MelonnPan on ubuntu 20.04 subsystem for Windows following the instructions presented in the tutorial (melonnpan · biobakery/biobakery Wiki · GitHub), trying with both R versions 4.1.2 and 3.6.1 in two different conda environments.
I had problems as I attempted to install the packages listed:
R -q -e "install.packages(c('devtools', 'glmnet', 'foreach', 'getopt', 'doParallel', 'vegan', 'data.table', 'ggplot2', 'AssocTests', 'optparse', 'tibble'), repos='http://cran.r-project.org')"
And in the end I got this error for some of the packages:
ERROR: dependency ‘credentials’ is not available for package ‘gert’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/gert’
ERROR: dependency ‘httr’ is not available for package ‘gh’ - removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/gh’
ERROR: dependencies ‘systemfonts’, ‘textshaping’ are not available for package ‘ragg’ - removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/ragg’
ERROR: dependency ‘fExtremes’ is not available for package ‘AssocTests’ - removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/AssocTests’
ERROR: dependencies ‘curl’, ‘gert’, ‘gh’ are not available for package ‘usethis’ - removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/usethis’
ERROR: dependencies ‘httr’, ‘ragg’ are not available for package ‘pkgdown’ - removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/pkgdown’
ERROR: dependencies ‘usethis’, ‘pkgdown’, ‘rcmdcheck’, ‘rversions’, ‘urlchecker’ are not available for package ‘devtools’ - removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/devtools’
The downloaded source packages are in
‘/tmp/Rtmp1XU3Vb/downloaded_packages’
Updating HTML index of packages in ‘.Library’
Making ‘packages.html’ … done
There were 19 warnings (use warnings() to see them)
I tried manually installing them in R using install.packages(“package”, dependencies=TRUE), but I got the same output.
How can I make the dependencies available for the packages I need to run MelonnPan?
Thank you