Rev 25118 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{PkgUtils}\alias{build}\alias{check}\title{Utilities for Building and Checking Add-on Packages}\description{Utilities for checking whether the sources of an \R add-on packagework correctly, and for building a source or binary package fromthem.}\usage{#ifdef unixR CMD build [options] pkgdirsR CMD check [options] pkgdirs#endif#ifdef windowsRcmd build [options] pkgdirsRcmd check [options] pkgdirs#endif}\arguments{\item{pkgdirs}{a list of names of directories with sources of \Radd-on packages.}\item{options}{further options to control the processing, or forobtaining information about usage and version of the utility.}}\details{#ifdef unix\code{R CMD check}#endif#ifdef windows\code{Rcmd check}#endifchecks \R add-on packages from their sources, performing a widevariety of diagnostic checks.#ifdef unix\code{R CMD build}#endif#ifdef windows\code{Rcmd build}#endifbuilds \R source or binary packages from their sources. It willcreate index files in the sources if necessary, so it is often helpfulto run \code{build} before \code{check}.Use#ifdef unix\code{R CMD foo --help}#endif#ifdef windows\code{Rcmd foo --help}#endifto obtain usage information on utility \code{foo}.Several of the options to \code{build --binary} are passed to\code{\link{INSTALL}} so consult its help for the details.}#ifdef windows\note{These may not work correctly under Windows 95/98/ME because ofproblems Perl has launching programs on those limited OSes.They make use of a temporary directory specified by the enironmentvariable \code{TMPDIR} and defaulting to \code{c:/TEMP}. Do ensurethat if set forward slashes are used.}#endif\seealso{The chapter \dQuote{Processing Rd format} in \dQuote{Writing \RExtensions}#ifdef unix(see the \file{doc/manual} subdirectory of the \R source tree).#endif#ifdef windows(see the Manuals sub-menu of the Help menu on the console).#endif\code{\link{INSTALL}} is called by \code{build --binary}.}\keyword{utilities}