robust_purl {precommit}R 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(), precommit_docopt(), roxygen_assert_additional_dependencies(), roxygenize_with_cache()


[Package precommit version 0.4.2 Index]