From mtmorgan at fhcrc.org  Mon Oct 21 08:22:22 2013
From: mtmorgan at fhcrc.org (Martin Morgan)
Date: Sun, 20 Oct 2013 23:22:22 -0700
Subject: [Rd] Building Windows package .zip files
Message-ID: <5264C81E.2030306@fhcrc.org>

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



[Rd] Building Windows package .zip files
Martin Morgan