View source: R/use_github_action.R
use_github_action | R Documentation |
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
)
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. |
Invisibly returns the path to the created workflow file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.