| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/packages.R |
| 3 |
\name{install_dir} |
| 4 |
\alias{install_dir} |
| 5 |
\title{Install a source package from a directory} |
| 6 |
\usage{ |
| 7 |
install_dir(pkg = ".", build = TRUE, build_opts = NULL, install_opts = NULL) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{pkg}{The package source directory.} |
| 11 |
|
| 12 |
\item{build}{Whether to build a tarball from the source directory. If |
| 13 |
\code{FALSE}, run \command{R CMD INSTALL} on the directory directly (note |
| 14 |
that vignettes will not be automatically built).} |
| 15 |
|
| 16 |
\item{build_opts}{The options for \command{R CMD build}.} |
| 17 |
|
| 18 |
\item{install_opts}{The options for \command{R CMD INSTALL}.} |
| 19 |
} |
| 20 |
\value{ |
| 21 |
Invisible status from \command{R CMD INSTALL}. |
| 22 |
} |
| 23 |
\description{ |
| 24 |
Run \command{R CMD build} to build a tarball from a source directory, and run |
| 25 |
\command{R CMD INSTALL} to install it. |
| 26 |
} |