FredHutch / VISCtemplates

Tools for writing reproducible reports at VISC
Other
6 stars 2 forks source link

Long runtime for package skeleton Github action #165

Closed slager closed 3 months ago

slager commented 3 months ago

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.

kelliemac commented 3 months ago

@slager I assume that PR https://github.com/FredHutch/VISCtemplates/pull/163 is the first step to addressing this?

slager commented 3 months ago

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.

kelliemac commented 3 months ago

got it. sounds great, thank you!!