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
Encountering callr_remote_error: subscript out of bounds when loading remote package from GitHub
#534
Comments
|
This is a bug in pak. Will fix soon, I'll let you know here. A workaround is to remove - name: Install TreeTools
run: pak::pkg_install("ms609/TreeTools")
shell: Rscript {0} |
|
Thanks, I'd been able to simply remove the However, I still encounter the (Possibly this error is unrelated to the remote package, installed via an entry in the |
|
Can you try my suggestion above? I.e. putting that step after the We do not support the |
|
Putting it after |
|
Even if you remove |
|
After removing the Not sure whether I've followed the thread – will the latter part of this work-around also be redundant once the update to pak alluded to above is available? |
|
I've encountered the same error. I tried the suggested workaround, but it did not work. Here's a snippet from my workflow: The workflow step "install glmmADMB" is not reached because the previous step "/setup-r-dependencies@v2" is not able to complete due to encountering the error. Here is the relevant log file. |
Describe the bug
I'm encountering
subscript out of boundsin a number of contexts.I'm using the same GHA workflow in two packages: one works fine; the other doesn't.
To Reproduce
When I include
Remotes: ms609/TreeToolsin theDESCRIPTIONfile, I see** <simpleError in candidate$extra[[1]][["remotesha"]]: subscript out of bounds>**https://github.com/ms609/TreeDist/runs/5625463370?check_suite_focus=true
Removing the
Remotesfield cleared this error up (log), but introduced another: theSuggested package "TreeDistData" is not available on CRAN so could not be loaded.Adding
extra-packages: ms609/TreeDistDatato the workflow.ymlfile gives again:<simpleError in candidate$extra[[1]][["remotesha"]]: subscript out of bounds>https://github.com/ms609/TreeDist/runs/5626075561?check_suite_focus=true
If I avoid loading the GitHub packages with
extra-packages: TreeDistData=?ignore-before-r=99.0.0then I see<simpleError in done[[i]]: subscript out of bounds>https://github.com/ms609/TreeDist/runs/5626339625?check_suite_focus=true
Expected behaviour
Packages linked should be installed from GitHub as specified, without error, and the run should continue
The text was updated successfully, but these errors were encountered: