uclahs-cds / package-CancerEvolutionVisualization

Publication Quality Phylogenetic Tree Plots
https://cran.r-project.org/web/packages/CancerEvolutionVisualization/
GNU General Public License v2.0
2 stars 0 forks source link

Add R CMD check workflow to main branch #56

Closed dan-knight closed 1 year ago

dan-knight commented 1 year ago

This extra check is added to solve a caching issue within GitHub actions. Caches created on the default branch (main) are available to all branches, but caches created on other branches are only available within that branch. This means that the R dependencies will not be cached between pull requests unless the workflow also runs on the default branch.

This can be solved easily by adding a check on pushes to main, but there may be a slightly more ideal fix if we look into this further. Additionally, running the check again adds an extra layer of protection to the main branch.