use_github_action {reproducibleRchunks} | R Documentation |
Add GitHub Action to test reproducibility
Description
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.
Usage
use_github_action(
files = NULL,
path = ".github/workflows/reproducibleR.yml",
packages = NULL
)
Arguments
files |
Character. File(s) that should be tested for reproducibility. If NULL, all Rmd files in the directory. |
path |
Path to the workflow file to create.
Defaults to |
packages |
Character. If NULL, necessary R packages are inferred automatically. |
Value
Invisibly returns the path to the created workflow file.
[Package reproducibleRchunks version 1.2.0 Index]