plantphys / spectratrait

A tutorial R package for illustrating how to fit, evaluate, and report spectra-trait PLSR models. The package provides functions to enhance the base functionality of the R pls package, identify an optimal number of PLSR components, standardize model validation, and vignette examples that utilize datasets sourced from EcoSIS (ecosis.org)
GNU General Public License v3.0
11 stars 9 forks source link

Use GitHub actions for CI #75

Closed serbinsh closed 2 years ago

serbinsh commented 3 years ago

General reference https://docs.github.com/en/actions/quickstart

References for use with R code

https://usethis.r-lib.org/reference/github_actions.html usethis::use_gh_actions_ci()

https://github.com/r-lib/actions

serbinsh commented 3 years ago

Another more detailed example https://github.com/FoRTExperiment/fortedata/tree/master/.github/workflows

serbinsh commented 2 years ago

This is being addressed in #95

serbinsh commented 2 years ago

https://blog--simonpcouch.netlify.app/blog/r-github-actions-commit/ https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions https://github.com/pixgarden/scrape-automation/blob/main/.github/workflows/main.yml https://sabeeh.medium.com/using-github-actions-as-a-job-scheduler-for-r-scripts-7b92539372f4 https://github.com/r-lib/actions/actions/runs/17483670/workflow

serbinsh commented 2 years ago

https://github.com/r-lib/actions/actions/runs/17483670/workflow

https://sabeeh.medium.com/using-github-actions-as-a-job-scheduler-for-r-scripts-7b92539372f4

https://stackoverflow.com/questions/70184819/how-can-i-commit-generated-files-on-schedule-using-github-actions