[Rd] Building Windows package .zip files

Martin Morgan mtmorgan at fhcrc.org
Mon Oct 21 08:22:22 CEST 2013


Section 1.3.3 of Writing R Extensions says

"The recommended method of building binary packages is to use

R CMD INSTALL --build pkg where pkg is either the name of a source tarball (in 
the usual .tar.gz format) or the location of the directory of the package source 
to be built. "

(a) vignettes are not created when R CMD INSTALL --build is run on a source 
directory, so it seems that there is only one way to build full .zip files 
(running R CMD INSTALL --build on the tar.gz file created by R CMD build). (b) 
probably the intention was to have R CMD INSTALL --build pkg on a line by itself

Index: R-exts.texi
===================================================================
--- R-exts.texi	(revision 64082)
+++ R-exts.texi	(working copy)
@@ -2660,12 +2660,12 @@
  The recommended method of building binary packages is to use

  @command{R CMD INSTALL --build pkg}
+
  @noindent
-where @file{pkg} is either the name of a source tarball (in the usual
- at file{.tar.gz} format) or the location of the directory of the package
-source to be built.  This operates by first installing the package and
-then packing the installed binaries into the appropriate binary package
-file for the particular platform.
+where @file{pkg} is the name of a source tarball (in the usual
+ at file{.tar.gz} format) produced by @command{R CMD build}.  This operates
+by first installing the package and then packing the installed binaries
+into the appropriate binary package file for the particular platform.

  By default, @command{R CMD INSTALL --build} will attempt to install the package
  into the default library tree for the local installation of @R{}. This has two
-- 
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the R-devel mailing list