PIFSCstockassessments / ss3diags

R package with advanced diagnostics to evaluate a Stock Synthesis model. Diagnostics include residual analyses, hindcasting and cross-validation techniques, and retrospective analyses.
http://pifscstockassessments.github.io/ss3diags/
2 stars 4 forks source link

Unattended R CMD Check actions to every branch when new branch is added/pushed. #41

Closed efletcherPIFSC closed 2 years ago

efletcherPIFSC commented 2 years ago

Adding/pushing a new branch to the ss3diags invokes the R-CMD-Check Github action on other branches. This R Package check workflow is made from GitHub's R Package checker action template (snippet below):

https://github.com/PIFSCstockassessments/ss3diags/blob/43adc64e4764a6cb210d6f5215adfbcdc2d06ea7/.github/workflows/R-CMD-check.yml#L9-L15

See if NOAA Fisheries Tools gactions4r R CMD CHECK scripts provide a solution.

https://github.com/nmfs-fish-tools/ghactions4r/blob/main/.github/workflows/r-cmd-check.yml

https://github.com/nmfs-fish-tools/ghactions4r/blob/main/.github/workflows/call-r-cmd-check.yml

efletcherPIFSC commented 2 years ago

Noted in the default ghactions4r call-r-cmd-check scripts was intended to run the R CMD CHECK workflow for remote branches for any push and pull request.

efletcherPIFSC commented 2 years ago

Removing the old default R CMD CHECK (Commit 0e605da2a2e9a1755d271d4ab3b1f916b9bb715d) workflow script resolved issue that the new R CMD CHECK didn't go as expected.