binary = FALSE this creates a tar.gz package that can
be installed on any platform, provided they have a full development
environment (although packages without source code can typically be
install out of the box). If binary = TRUE, the package will have
a platform specific extension (e.g. .zip for windows), and will
only be installable on the current platform, but no development
environment is needed.
build(pkg = ".", path = NULL, binary = FALSE, vignettes = TRUE, manual = FALSE, args = NULL, quiet = FALSE)as.package for more informationNULL, defaults to
the parent directory of the package.--binary) or source (
--no-manual --no-resave-data) version of the package.FALSE, don't build PDF
vignettes (--no-build-vignettes) or manual (--no-manual).R CMD build if binary = FALSE,
or R CMD install if binary = TRUE.TRUE suppresses output from this function.build_win