Closed efletcherPIFSC closed 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.
Removing the old default R CMD CHECK (Commit 0e605da2a2e9a1755d271d4ab3b1f916b9bb715d) workflow script resolved issue that the new R CMD CHECK didn't go as expected.
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