-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathpak.Rd
53 lines (51 loc) · 1.66 KB
/
pak.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pak.R
\name{pak}
\alias{pak}
\title{Install specified required packages}
\usage{
pak(pkg = NULL, ...)
}
\arguments{
\item{pkg}{Package names or remote package specifications to install.
See \link[=Package sources]{pak package sources} for details. If \code{NULL},
will install all development dependencies for the current package.}
\item{...}{Extra arguments are passed to \code{\link[=pkg_install]{pkg_install()}} or
\code{\link[=local_install_dev_deps]{local_install_dev_deps()}}.}
}
\description{
Install the specified packages, or the ones required by
the package or project in the current working directory.
}
\details{
This is a convenience function:
\itemize{
\item If you want to install some packages, it is easier to type
than \code{\link[=pkg_install]{pkg_install()}}.
\item If you want to install all the packages that are needed
for the development of a package or project, then it is
easier to type than \code{\link[=local_install_dev_deps]{local_install_dev_deps()}}.
\item You don't need to remember two functions to install
packages, just one.
}
}
\seealso{
Other package functions:
\code{\link{lib_status}()},
\code{\link{pkg_deps_tree}()},
\code{\link{pkg_deps}()},
\code{\link{pkg_download}()},
\code{\link{pkg_install}()},
\code{\link{pkg_remove}()},
\code{\link{pkg_status}()},
\code{\link{pkg_sysreqs}()}
Other local package trees:
\code{\link{local_deps_explain}()},
\code{\link{local_deps}()},
\code{\link{local_install_deps}()},
\code{\link{local_install_dev_deps}()},
\code{\link{local_install}()},
\code{\link{local_package_trees}}
}
\concept{local package trees}
\concept{package functions}