Skip to content

building packages using S4 methods

2 messages · Marsland, John, Brian Ripley

#
I can only find the option "--save" under install.
I'm using "Rcmd build --binary pkgName" on a Windows NT platform is there
anyway I can pass a similar directive?

Is there any more detailed documentation for Rcmd beyond the "Writing R
Extensions" manual or should I look at the R source code?

Thanks,

John Marsland
********************************************************************** 
This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}}
#
On Wed, 30 Jul 2003, Marsland, John wrote:

            
First point: Rcmd is JUST A FRONT END like R CMD on Unix: what do you want
detailed documentation on that for?  It's *build* you want to be looking
at.

Second point: build --binary is one way to distribute a fully-debugged
package, but INSTALL --build is a better way (as it allows more options).  
In either case you don't want to package up a non-functional package, do
you?

Third point: you can use install.R to provoke saving: that's described
in the help for INSTALL.

The moral is:  use R CMD/Rcmd INSTALL to install a package, and once it is
working, use R CMD/Rcmd build to make a source distribution or (on
Windows) Rcmd INSTALL --build to make a binary distribution

Unsurprisingly it is ?INSTALL that has help on the installation options.


[I presume the answer to my question was that you were not using --save,
but do please try to answer questions put to you by the helpers.]

[...]