-
Notifications
You must be signed in to change notification settings - Fork 755
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
install_github Error (converted from warning) #2084
Comments
I don't know why the copying errors are happening, likely the cause is due to the permissions on the files or directories you are trying to install into. Likely you or someone else installed some packages as root or a different user, and your current user does not have permissions to write to them. You can set the shell environment variable The best solution would be for you to fix the permission issues. In any case this is not an issue with devtools or remotes, so I will close this issue. |
Possibly the issue is you are trying to install with |
I'm seeing the same error when running without
It appears that some of the html files are missing from my R installation, which came from EPEL and |
@jrowen did you find a solution? I'm faced with the same issue. |
The problem isn't permissions in this case, it's that the files that are attempting to be copied don't exist:
If you look in I feel like this should have been prevented by your In any case - a workaround might be the following:
In my testing this seems to do the trick. |
@emilmahler @jrowen - another option might be to use These options aren't really documented in any detail anywhere, so the best source for what they do might be the file |
I think you should fix your R installation and copy the documentation to the place R expects. e.g. In my opinion the centos RPM is broken if it does not do this by default. mkdir -p /usr/share/doc/R-3.6.0/html
cp /usr/lib64/R/library/stats/html/R.css /usr/share/doc/R-3.6.0/html/ |
@jimhester That's indeed what I do on my CentOS boxes, but if the user doesn't have root permissions on the box, this may not be an option. When was the "error converted from warning" behavior added to |
@emilmahler @jrowen - specifically, what you can do to eliminate the warnings-turned-errors for a particular installation, if you have permission, is this:
I have that 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/ |
I'm running into an "Error (converted from warning)" message when using
install_github
to install on a Centos7 machine running R 3.6 (see error below).On the other hand, if I install the problem library individually, I don't run into any errors.
Now, if I run
install_github
on the original library, the process proceeds along until eventually encountering a similar error on another dependency.This seems to be related to warnings being elevated to errors at some point along the installation process. Any guidance on how to resolve these errors would be appreciated.
The text was updated successfully, but these errors were encountered: