-
Notifications
You must be signed in to change notification settings - Fork 62
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
Error in rec$remote[[1]]
: subscript out of bounds
#622
Comments
How did you install pak? |
Via |
Can you try installing it as shown at https://pak.r-lib.org/reference/install.html#pre-built-binaries? |
Unfortunately, it doesn't appear as though that has changed anything:
|
This is definitely a bug in pak, and I think it is triggered by some metadata in the
This should error as well, but hopefully with a better stack trace. Thanks a lot! |
Unfortunately, it's giving less info:
|
After the
can you type |
Ah, apologies:
|
Sorry for the extra work, just one more thing. Can you please run this? It tries to parse the metadata already installed versions of the ggplot2 dependencies to see which one fails.
and then when it (hopefully) fails, send me the output of
( Thanks a lot again. |
|
Just to note, I've tried stepping through manually and it doesn't appear to be a problem with
|
Actually, it appears to be a problem with all of the packages:
|
I think my test is just not working and your packages are fine. |
I can try to fix this without knowing why it happens, but if you are up for it, you can debug it after installing the
(assuming pak works for this), and then after restarting R:
and then send me the output? |
|
I restarted R as it doesn't seem to have changed. Looks like it's giving more info now:
|
Oh, seems like there is an issue with system requirements installation. Try this:
|
Unfortunately that doesn't seem to have changed anything (even after a restart of R):
|
Hmmm, I think the root of the problem is that this is broken for you (from a shell):
Hopefully this works:
(Closed accidentally, sorry.) |
That got it! Massive thanks :) I'll flag the issue with |
Hi,
I'm trying to migrate to using
pak
for package installation/management on a Linux system and I'm getting a strange error whenever I try to install a package (the example below is for a CRAN package, but I get the same messages for a local package).For example, if I try to run:
I get the following error message:
If I call
.Last.error
, I get the following details:This is under the following setup:
Any advice/support you could provide on the above would be greatly appreciated!
The text was updated successfully, but these errors were encountered: