Returns the file path to an R Markdown snippet shipped with this package.
Usage
snip_path(id = ls_file_snips()$id)
Value
A path.
Details
The snippets can be used anywhere R Markdown input is supported. For example, you can use them as input to knitr's
child
document option:
Or you can use them in roxygen2's @includeRmd
tag:
#' @includeRmd `r pkgsnip::snip_path("installation-notice_dev-version_gitlab.Rmd")`
See also
R Markdown file snippet functions
ls_file_snips()