Entering edit mode
3.6 years ago
xxxxxxxx
▴
20
While using this script to install metaOmics-
shiny::runApp('metaOmics', port=9987, launch.browser=T)
Getting warning and error like this-
Warning in install.packages : package ‘DMwR’ is not available for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages Downloading package from url: https://github.com/metaOmics/preproc/archive/master.zip √ checking for file 'C:\Users\kiit1\AppData\Local\Temp\RtmpcDwams\remotes8e05c3224ec\preproc-master/DESCRIPTION' (358ms)
- preparing 'preproc': √ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- 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/RtmpcDwams/file8e01ccc285f/preproc_1.2-4.tar.gz’ had non-zero exit status Error in library(preproc) : there is no package called ‘preproc
How to solve this issue?
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. If your code has long lines with a single command, break those lines into multiple lines with proper escape sequences so they're easier to read and still run when copy-pasted. I've done it for you this time.You're using the "quote" option to format code, which is not the right way to do it.
What version of
R
are you running? You might have to up/down-grade it. As the first line of the warning states: "package ‘DMwR’ is not available for this version of R". So either find a copy of the package appropriate to your version ofR
from somewhere or install a version ofR
supported by the package.You've already been asked to not delete posts (looks like you did that multiple times and were asked to stop that multiple times) that have received a comment/answer. Consider this your final warning - continued deletion of posts will lead to suspension of your user account.