-
Notifications
You must be signed in to change notification settings - Fork 152
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
System command 'R' failed
for any packages
#720
Comments
Try standalone mode, see https://github.com/r-lib/remotes#standalone-mode Did you install R from conda? If not then deactivate conda while using R. |
Thanks for the quick reply. I actually also need set > Sys.setenv(R_REMOTES_STANDALONE="true")
> remotes::install_github("stephenslab/mashr")
Downloading GitHub repo stephenslab/mashr@HEAD
Running `R CMD build`...
* checking for file ‘/tmp/RtmpYeymKC/remotes7ade6369c45/stephenslab-mashr-e482cf2/DESCRIPTION’ ... OK
* preparing ‘mashr’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running ‘cleanup’
* checking for LF line-endings in source and make files and shell scripts
STDOUT:
* checking for file ‘/tmp/RtmpYeymKC/remotes7ade6369c45/stephenslab-mashr-e482cf2/DESCRIPTION’ ... OK
* preparing ‘mashr’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running ‘cleanup’
* checking for LF line-endings in source and make files and shell scripts
STDERR:
Warning in file(file, "wb") :
cannot open file 'mashr/cleanup': Text file busy
Error in file(file, "wb") : cannot open the connection
Execution halted
Error: Failed to install 'mashr' from GitHub:
Failed to `R CMD build` package, try `build = FALSE`.
> remotes::install_github("stephenslab/mashr", build=F) |
Unfortunately it is unlikely that we can help you with this, because we don't use conda. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this "System command 'R' failed" error message when using
devtools::install_github()
orremotes::install_github()
. This is happening to all packages. I'm using a conda env.The text was updated successfully, but these errors were encountered: