uninstall_precommit | R Documentation |
Remove pre-commit from a repo or from your system.
uninstall_precommit(scope = "repo", ask = "user", root = here::here())
scope |
Either "repo" or "user". "repo" removes pre-commit from your project, but you will be able to use it in other projects. With "user", you remove the pre-commit executable in the virtual python environment r-precommit so it won't be available in any project. When you want to do the latter, you should first do the former. |
ask |
Either "user", "repo" or "none" to determine in which case a prompt should show up to let the user confirm his action. |
root |
The path to the root directory of your project. |
NULL
(invisibly). The function is called for its side effects.
Other executable managers:
install_precommit()
,
update_precommit()
,
version_precommit()
## Not run:
uninstall_precommit()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.