-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathuninstall_precommit.Rd
38 lines (36 loc) · 1.14 KB
/
uninstall_precommit.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install.R
\name{uninstall_precommit}
\alias{uninstall_precommit}
\title{Uninstall pre-commit}
\usage{
uninstall_precommit(scope = "repo", ask = "user", root = here::here())
}
\arguments{
\item{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.}
\item{ask}{Either "user", "repo" or "none" to determine in which case
a prompt should show up to let the user confirm his action.}
\item{root}{The path to the root directory of your project.}
}
\value{
\code{NULL} (invisibly). The function is called for its side effects.
}
\description{
Remove pre-commit from a repo or from your system.
}
\examples{
\dontrun{
uninstall_precommit()
}
}
\seealso{
Other executable managers:
\code{\link{install_precommit}()},
\code{\link{update_precommit}()},
\code{\link{version_precommit}()}
}
\concept{executable managers}