Long runtime for package skeleton Github action
slager opened this issue · 3 comments
The package skeleton Github action takes a lot longer than the other actions.
The vast majority of that time is spent installing R packages from source:
https://github.com/FredHutch/VISCtemplates/actions/runs/9574366712/job/26397481412?pr=163
This could be greatly sped up by configuring the action to install binary R packages from the Posit Public Package Manager.
These things should be unrelated, because https://github.com/FredHutch/VISCtemplates/blob/main/.github/workflows/render-skeleton-rmd.yaml is using an r-lib/actions workflow to install the dependency tree for VISCtemplates. This shouldn't be calling any functions in VISCtemplates.
I am looking at the action right now and I think I see a pretty easy way to fix this. I'll put in a PR and see if it works.
got it. sounds great, thank you!!