| Line 34... |
Line 34... |
| 34 |
|
34 |
|
| 35 |
Use \command{R CMD \var{foo} --help} to obtain usage information on
|
35 |
Use \command{R CMD \var{foo} --help} to obtain usage information on
|
| 36 |
utility \code{\var{foo}}, notably the possible \command{options}.
|
36 |
utility \code{\var{foo}}, notably the possible \command{options}.
|
| 37 |
|
37 |
|
| 38 |
The defaults for some of the options to \command{R CMD build} can be
|
38 |
The defaults for some of the options to \command{R CMD build} can be
|
| 39 |
set by environment variables \env{_R_BUILD_RESAVE_DATA_} and
|
39 |
set by environment variables, e.g., \env{_R_BUILD_RESAVE_DATA_} and
|
| 40 |
\env{_R_BUILD_COMPACT_VIGNETTES_}: see \sQuote{Writing R Extensions}.
|
40 |
\env{_R_BUILD_COMPACT_VIGNETTES_}: see \manual{R-exts}{Building package tarballs}.
|
| 41 |
Many of the checks in \command{R CMD check} can be turned off or on by
|
41 |
Many of the checks in \command{R CMD check} can be turned off or on by
|
| 42 |
environment variables: see Chapter \sQuote{Tools} of the
|
42 |
environment variables: see Chapter \manual{R-ints}{Tools}.
|
| 43 |
\sQuote{R Internals} manual.
|
- |
|
| 44 |
|
43 |
|
| 45 |
By default \command{R CMD build} uses the \code{"internal"} option to
|
44 |
By default \command{R CMD build} uses the \code{"internal"} option to
|
| 46 |
\code{\link{tar}} to prepare the tarball. An external \command{tar}
|
45 |
\code{\link{tar}} to prepare the tarball. An external \command{tar}
|
| 47 |
program can be specified by the \env{R_BUILD_TAR} environment
|
46 |
program can be specified by the \env{R_BUILD_TAR} environment
|
| 48 |
variable. This may be substantially faster for very large packages,
|
47 |
variable. This may be substantially faster for very large packages,
|
| Line 65... |
Line 64... |
| 65 |
They make use of a temporary directory specified by the environment
|
64 |
They make use of a temporary directory specified by the environment
|
| 66 |
variable \code{TMPDIR} and defaulting to \samp{c:/TEMP}. Do ensure
|
65 |
variable \code{TMPDIR} and defaulting to \samp{c:/TEMP}. Do ensure
|
| 67 |
that if set forward slashes are used.
|
66 |
that if set forward slashes are used.
|
| 68 |
}
|
67 |
}
|
| 69 |
\seealso{
|
68 |
\seealso{
|
| 70 |
The sections on \sQuote{Checking and building packages} and
|
69 |
Section \manual{R-exts}{Checking and building packages}.
|
| 71 |
\sQuote{Processing documentation files} in \sQuote{Writing R Extensions}:
|
- |
|
| 72 |
\code{\link{RShowDoc}("R-exts#Checking-and-building-packages")}.
|
- |
|
| 73 |
}
|
70 |
}
|
| 74 |
\keyword{utilities}
|
71 |
\keyword{utilities}
|