-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcheck_license.Rd
44 lines (42 loc) · 1.19 KB
/
check_license.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check_description.R
\name{check_license}
\alias{check_license}
\title{Check the license of a package}
\usage{
check_license(x = ".")
}
\arguments{
\item{x}{Either a \code{checklist} object or a path to the source code.
Defaults to \code{.}.}
}
\description{
Every package needs a clear license.
Without a license, the end-users have no clue under what conditions they can
use the package.
You must specify the license in the \code{DESCRIPTION} and provide a \code{LICENSE.md}
file.
}
\details{
This functions checks if the \code{DESCRIPTION} mentions one of the standard
licenses.
The \code{LICENSE.md} must match this license.
Use \code{setup_package()} to add the correct \code{LICENSE.md} to the package.
Currently, following licenses are allowed:
\itemize{
\item GPL-3
\item MIT
}
We will consider pull requests adding support for other open source licenses.
}
\seealso{
Other package:
\code{\link{check_codemeta}()},
\code{\link{check_cran}()},
\code{\link{check_description}()},
\code{\link{check_documentation}()},
\code{\link{check_environment}()},
\code{\link{check_package}()},
\code{\link{tidy_desc}()}
}
\concept{package}