Solved. Very grateful for the precious help
• 0 views
•
link
While running this script of metaOmics-
shiny::runApp('metaOmics', port=9987, launch.browser=T)
Getting error like this-
√ checking for file 'C:\Users\AppData\Local\Temp\RtmpKU9bAR\remotes24f4668b6da7\preproc-master/DESCRIPTION' ...
- preparing 'preproc':
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts (346ms)
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- building 'preproc_1.2-4.tar.gz'
ERROR: dependency 'DMwR' is not available for package 'preproc'
* removing 'C:/R/R-4.0.5/library/preproc'
Warning in i.p(...) :
installation of package ‘C:/Users/kiit1/AppData/Local/Temp/RtmpKU9bAR/file24f433e4903/preproc_1.2-4.tar.gz’ had non-zero exit status
Error in library(preproc) : there is no package called ‘preproc’
How to solve it?
Then you have to compile the latest of the archived releases https://cran.r-project.org/src/contrib/Archive/DMwR/ from source (tarball), see for how-to: https://stackoverflow.com/questions/4739837/how-do-i-install-an-r-package-from-the-source-tarball-on-windows
Solved. Very grateful for the precious help
Log in to answer this question.
You first need to install DMwR:
..or:
Then try to install preproc
Already tried that and getting error like this-
Also, can you please cease posting different versions of the same question? It is frustrating.
Please keep everything in the same thread by adding comments where necessary.
I think in this case the issue is that DMwR has been removed from CRAN, but the prepoc package from metaOmics relies on it.
You might want to submit an issue to the developer of metaOmics:
https://github.com/metaOmics/preproc
You could also try installing the DMwR package manually.