Hi,
My GitHub Actions have recently stopped working and I’m struggling to fix it.
I am using INLA and so specify an extra repo to load its package from.
I’ve updated the yaml for the latest r-lib/actions but still no luck.
I don’t know if this is an issue with pak or R 4.2 or something else.
I way even have hacked at the yaml too much now that there are multiple issues!
Any pointers would be very much appreciated!
Thanks,
Nathan
This is the workflow:
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [dev, main, master]
pull_request:
branches: [dev, main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
This file has been truncated. show original
and relevant part of the output (R-CMD-check · n8thangreen/BCEA@7ecc589 · GitHub ):
Creating lockfile '.github/pkg.lock'
Creating lockfile '.github/pkg.lock' [19.3s]
Error: Error: <callr_remote_error: Cannot install packages:
deps::.: Can't install dependency INLA
Gabor
July 5, 2022, 3:35pm
2
This could be a bug in pak. Can you try specifying dependencies: TRUE
instead of '"all"'
?
Hi, thanks for the help with this. I made your suggested changes and I get the following error (changed "all" to TRUE · n8thangreen/BCEA@c28e177 · GitHub ):
3s
[1]Run r-lib/actions/setup-r-dependencies@v2
[19]Run ## Installing pak
[50]Installing pak
[61]Dependency resolution
[62] Error in rs_call(self, private, func, args, package) :
[63]object 'true' not found
[64]Calls: ... -> rs_run_with_output -> -> rs_call
[65] Execution halted
[66] Error: Process completed with exit code 1.
This is the yaml:
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [dev, main, master]
pull_request:
branches: [dev, main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
This file has been truncated. show original
Thanks again!
Nathan
Gabor
July 12, 2022, 1:14pm
4
Right. TRUE apparently does not work. This is probably a bug in pak, I'll check it out soon.
Hi Gabor, I'm just seeing if you had the chance to check out if there is a bug in pak or not? Is there anything I can do to help? Thanks again!
Gabor
July 28, 2022, 12:09pm
6
1 Like
system
Closed
August 5, 2022, 2:02pm
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.