diff_requires_run_roxygenize: Check if we should run roxygen.
Description
This is the case if a new or replaced/removed line contains a roxygen2
comment in a file that is staged.
This function is only exported for use in hook scripts, but it's not intended
to be called by the end-user directly.
Usage
diff_requires_run_roxygenize(root = here::here())
Value
A logical vector of length 1.
Arguments
root
The root of project.
See Also
Other hook script helpers:
dirs_R.cache(),
may_require_permanent_cache(),
robust_purl(),
roxygen_assert_additional_dependencies(),
roxygenize_with_cache()