metaOmics Installation issues in windows 4.0.5 using R
1
0
Entering edit mode
3.0 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?

metaOmics R meta-analysis R-studio • 1.5k views
ADD COMMENT
1
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), 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.
code_formatting

You're using the "quote" option to format code, which is not the right way to do it.

ADD REPLY
1
Entering edit mode

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 of R from somewhere or install a version of R supported by the package.

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
1
Entering edit mode
ADD COMMENT
0
Entering edit mode

I've undeleted and accepted your answer here so people visiting this post will immediately go to the other one.

ADD REPLY

Login before adding your answer.

Traffic: 2498 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6