Splus CMD packup
--name
and
--parent
.
The default is the current working directory.
binary
then include the compiled and
installed code, or if
source
then only include the
source files.
zip
then use the "zip" utility, and the file extension will be ".zip".
If the value is
tar.gz
then use "tar" followed by "gzip",
and the file extension will be ".tar.gz".
The default is
tar.gz
on UNIX systems and
zip
on Windows.
--name
argument, if given, or the basename of the directory containing the package.
The package version number is specified in the package's DESCRIPTION file.
If your current working directory is the package directory, then none
of these arguments are necessary:
--directory
,
--name
,
--parent
.
Currently, the
--type source
option is not
implemented.
Before packing up the package, all files are copied into a temporary directory, and text files are changed to have Unix line endings (as with R).
The format of the package directory should be the same as when
the function
package.skeleton
is used to
create a package directory.
If the argument
--compress-with
is omitted,
then the default is
tar.gz
on UNIX systems and
zip
on Windows.
The
packup
utility is invoked from the operating
system's command line using the S-PLUS
CMD
utility.
packup
is based on Perl code.
# pack up the contents of the current working directory Splus CMD packup
# pack up the contents of mySplus/library/myPkg Splus CMD packup --name myPkg --parent mySplus/library
# pack up the contents of myPkg using zip Splus CMD packup --name myPkg --compress-with zip