-
Notifications
You must be signed in to change notification settings - Fork 758
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 error when utilizing install_github #2031
Comments
I am also getting a similar error. This is a new problem on a package that I built with R3.5.0, but just upgraded to R3.6.0, which is when the problems have started. The error occurs with
The consistent error message from the build process (e.g.
The vignette will knit successfully from the Rstudio GUI, or
|
@MorningGlory747, I think you need to fix some things in your My path looks like this (
You need to include
I see that
The last thing I think you need to do is add
You need to use foward slashes Let me know if any of this helps! |
@livelaughriley Hey thanks for the help. Unfortunately, it does not seem like the changes to the path do any good :( To ensure that I have properly followed the instructions, here is an outlook of the results:
I've removed I've tried putting both Also,
Which gives the same output as you. And, for
Which also gives the same output as you. What do you think? Thank you! |
Not a problem! Happy to help. Take a look at this issue I posted to Looking at the final line of your error, you'll see
Hopefully my issue at |
@livelaughriley haha yes it looks like your correction was it! I had my autorun set with a default color so that my terminal would open up with a white background with a blue font. It's mighty impressive that you were able to figure out that this was the problem, seeing as it was a system command rather than a r-related problem was a great diagnostic! It looks like i'll be able to work with R now, but I wonder what i'll do about my terminal background color now xD. In any case, thanks so much for your help! |
No problem at all! I'm glad I could help 😄. |
You are amazing @livelaughriley ! |
i appreciate the kind words, @kubistmi! |
Please Could you help me? I am trying to clone a package git but i have the following massage as well as this error:
Running "C:/PROGRA
|
@ingrideut have you checked to see if you have any lock files/directories in |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
Greetings,
I am fairly new to R but with experience in python and matlab.
Current setup :
> version
Also, using RStudio-1.2.1335
And downloaded Rtools35.exe from https://cran.r-project.org/bin/windows/Rtools/. After downloaded, I simply followed the installation instructions and left it like that afterwards.
Context
I initially wanted to download the Tealeaves package (see https://github.com/cdmuir/tealeaves). To do so, I inputed the following commands in a new session of RStudio
But I then received the following error message:
Error message
> devtools::install_github("cdmuir/tealeaves")
I also received this same error message when trying out other packages, such as:
> devtools::install_github("r-lib/devtools")
And also
devtools::install_github("r-lib/remotes")
Which lead me to believe that this is something fundamentally wrong with how I am doing things.
Attempts to fix things
rtools and path:
When google searching for this
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
message, one mentions that it could be related to an improper rtools version.To verify that I have a proper version, I did :
Interestingly enough, I do receive the following prompt when trying to install this :
devtools::install_github("sneumann/xcms")
Researching this message lead me to here (rstudio/tensorflow#133) and the last comment mentions that there is something in my setup that is preventing me from using the compiler and that this could be related to how my paths are organised. This is a level of complexity which goes beyond me however and the best I can do is the following :
> Sys.getenv()['PATH']
But we can see that rtools is present in the R path.
unzip :
Many have had issues with install_github and unzip. I wanted to believe that this was related because the error message appears right after the
building '****.tar.gz'
so maybe it had something to do with the unzipping.However, doing
Seems to be the expected behavior of unzip so perhaps nothing wrong there.
As such, I have difficulties figuring out what the issue could be. Is it possible to receive any help on this matter?
Cheers,
The text was updated successfully, but these errors were encountered: