-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcheck_package.Rd
58 lines (55 loc) · 1.69 KB
/
check_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
49
50
51
52
53
54
55
56
57
58
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check_package.R
\name{check_package}
\alias{check_package}
\title{Run the complete set of standardised tests on a package}
\usage{
check_package(
x = ".",
fail = !interactive(),
pkgdown = interactive(),
quiet = FALSE
)
}
\arguments{
\item{x}{Either a \code{checklist} object or a path to the source code.
Defaults to \code{.}.}
\item{fail}{Should the function return an error in case of a problem?
Defaults to \code{TRUE} on a non-interactive session and \code{FALSE} on an interactive
session.}
\item{pkgdown}{Test pkgdown website.
Defaults to \code{TRUE} on an interactive session and \code{FALSE} on a non-interactive
session.}
\item{quiet}{Whether to print check output during checking.}
}
\description{
A convenience function that runs all packages related tests in sequence.
The details section lists the relevant functions.
After fixing a problem, you can quickly check if it is solved by running only
the related check.
But we still recommend to run \code{check_package()} before you push to GitHub.
And only push when the functions indicate that there are no problems.
This catches most problems before sending the code to GitHub.
}
\details{
List of checks in order:
\enumerate{
\item \code{check_cran()}
\item \code{check_lintr()}
\item \code{check_filename()}
\item \code{check_description()}
\item \code{check_documentation()}
\item \code{check_codemeta()}
}
}
\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_license}()},
\code{\link{tidy_desc}()}
}
\concept{package}