-
Notifications
You must be signed in to change notification settings - Fork 153
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
Unable to install a package due to "invalid argument type" #616
Comments
This is likely due to a dependency already installed on your system, it is tricky to determine which one, but you can do it using |
I was unable to understand how are the dependencies related to failing to install the package. |
I had finally time to look this up. Writing this in case other find themselves on the same error. Using the
However Sys.getenv doesn't strip comments and returned:
The simple fix was moving the comment above the line:
|
Thanks @llrs that is really helpful. I just had the I don't think it likes |
Hi, many thanks for making easy to install packages from online resources.
I am stuck with an old R release (not sure if it is still supported) where I can't install a package with remotes on R 3.6.3 on Ubuntu 20.04:
I could install it on R 4.0.1 on a Ubuntu 20.04.
Not sure this is related to #546, but my tracing of the error seems to come from a package dependency (I managed to get a different error while exploring the issues
Error in !object$is_cran : invalid argument type
).The text was updated successfully, but these errors were encountered: