Creates a GitHub Actions workflow that runs
isReproducible() on all R Markdown files in the repository.
The workflow installs pandoc so that the documents can be rendered.
Depending on the result, a badge file reproducibleRchunks-badge.svg is generated
indicating successful, failing or unknown reproduction status.
use_github_action(
files = NULL,
path = ".github/workflows/reproducibleR.yml",
packages = NULL
)Invisibly returns the path to the created workflow file.
Character. File(s) that should be tested for reproducibility. If NULL, all Rmd files in the directory.
Path to the workflow file to create.
Defaults to .github/workflows/reproducibleR.yml.
Character. If NULL, necessary R packages are inferred automatically.