File: [distr] / pkg / utils / README-batchfiles
(download)
Revision: 435,
Tue Mar 24 09:52:17 2009 UTC (8 months ago) by ruckdeschel File size: 1913 byte(s)
added svn properties to be able to use with TeX-package multi-svn
to automatically fill in revision information
# HOWTO to BATCH-utils
#
################################
to be done beforehand:
install batch-utils by Gabor Grothendiek (see CRAN)
provided Utilities: (all to be called in devel dir)
################################################
# pmake.bat
################################################
# pmake makes a package...
#
# SYNTAX: pmake <packagename> [R-ver] [Rver2] [+]
# * performs R CMD check, R CMD build, R CMD build --binary, R CMD INSTALL to package <packagename>,
#
# args:
# R-ver the R-version under which the package is to be made; i.e. Rversion is changed
# [if no R-ver arg is given no Rversion change is made]
# R-ver2 the R-version under which the package is to be checked,
# i.e. Rversion is changed before and after check
# if given installs to R-ver & R-ver2
# + package is checked agaist R-ver and R-ver2
# (else just against R-ver2 if given or R-ver if given or preset R-version)
#
# all args are positional, i.e. they only apply if all preceding args are given
################################################
# pmakeDoc.bat
################################################
# pmakeDoc makes package distrDoc ...
#
# SYNTAX: pmakeDoc [R-ver] [Rver2] [+]
# * performs R CMD check, R CMD build, R CMD build --binary --no-vignette, R CMD INSTALL to distrDoc,
#
# args: as pmake
#
################################################
# rebuild.bat
################################################
# SYNTAX: rebuild [R-ver] [Rver2] [+]
# * performs pmake <pkgname> [R-ver] [Rver2] [+] / pmakeDoc [R-ver] [Rver2] [+]
# to packages startupmsg, distr, distrEx, distrTeach, distrMod,
# distrSim, distrTEst, distrDoc (in this order)
#
# args: as pmake