Utility function to generate code snippets:
snippet_generate(
snippet = "",
open = rstudioapi::isAvailable(),
root = here::here()
)
Currently supported:
additional-deps-roxygenize: Code to paste into
.pre-commit-config.yaml
for the additional dependencies required by
the roxygenize hook.