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

Failure when installing metacoder in RStudio in both windows and Ubuntu 20.04 #333

Open
emankhalaf opened this issue Feb 25, 2022 · 2 comments

Comments

@emankhalaf
Copy link

Hi,

I got this error when installing metacoder in windows:

devtools::install_github("grunwaldlab/metacoder")
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
Downloading GitHub repo grunwaldlab/metacoder@HEAD
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/.
trying URL 'https://cran.rstudio.com/bin/windows/Rtools/rtools40-x86_64.exe'
Content type 'application/x-msdownload' length 174215072 bytes (166.1 MB)
downloaded 166.1 MB

Error: Failed to install 'metacoder' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

I also have an issue installing it in Ubuntu 20.04

Thanks in advance for any provided support!
Eman

@zachary-foster
Copy link
Contributor

It looks like from the error that you need to install Rtools. Its not uncommon for some software to need to be installed by the user outside of R. If a package does not install, that is usually the reason and the thing you need to install can usually be found by reading and internet searching error messages.

Can you paste the result of SessionInfo()?

@emankhalaf
Copy link
Author

It was version incompatibility. I updated R version and installed metacoder in Ubuntu now. I will check for windows and see.
Much thanks for your support!

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