robust_purl: Run 'knitr::purl()', setting the chunk option 'purl' to...

View source: R/purl.R

robust_purlR Documentation

Run knitr::purl(), setting the chunk option purl to TRUE if it's not already set to a literal value.

Description

This function is only exported for use in hook scripts, but it's not intended to be called by the end-user directly.

Usage

robust_purl(path)

Arguments

path

The path to the file you want to knitr::purl().

See Also

Other hook script helpers: diff_requires_run_roxygenize(), dirs_R.cache(), may_require_permanent_cache(), roxygen_assert_additional_dependencies(), roxygenize_with_cache()


precommit documentation built on July 2, 2022, 1:06 a.m.