-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup_package.Rd
48 lines (47 loc) · 1.5 KB
/
setup_package.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
39
40
41
42
43
44
45
46
47
48
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/setup_package.R
\name{setup_package}
\alias{setup_package}
\title{Add or update the checklist infrastructure to an existing package}
\usage{
setup_package(path = ".", license = c("GPL-3", "MIT"))
}
\arguments{
\item{path}{The path to the package.
Defaults to \code{"."}.}
\item{license}{What type of license should be used?
Choice between GPL-3 and MIT.
Default GPL-3.}
}
\description{
Use this function when you have an existing package and you want to use the
checklist functionality.
Please keep in mind that the checklist is an opinionated list of checks.
It might require some breaking changes in your package.
Please DO READ \code{vignette("getting_started")} before running this function.
}
\details{
What you get with a checklist setup:
\itemize{
\item minimal folder structure and files required for an R package using INBO
guidelines with GPL-3 or MIT license.
\item an RStudio project file
\item a local git repository
\item an initial \code{NEWS.md} file
\item a template for an \code{README.Rmd}
\item set-up for automated checks and releases of the package using GitHub
Actions.
\item a code of conduct and contributing guidelines.
\item the set-up for a \code{pkgdown} website using the INBO corporate identity.
}
}
\seealso{
Other setup:
\code{\link{create_package}()},
\code{\link{create_project}()},
\code{\link{prepare_ghpages}()},
\code{\link{set_license}()},
\code{\link{setup_project}()},
\code{\link{setup_source}()}
}
\concept{setup}