[Rd] R CMD build/check

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 10 Apr 2000 07:46:39 +0200


I would like to bring the attention of R package maintainers/developers
to the mechanisms for checking and building add-on packages that come
with the R distribution.

* R CMD check has been around for a while.  It can be used for run-time
testing the examples that come with an installed add-on package.  Recent
development versions of R also have preliminary support for additional
specific regression testing.

* R CMD build should be used for actually building the add-on packages,
in particular if you are planning to upload them to CRAN.  From the R
Extension Writers Guide:

	Prior to actually building the package in the common gzipped tar
	file format, a variety of diagnostic checks and cleanups are
	performed.  In particular, it is tested whether the
	`DESCRIPTION' file contains the required entries, whether object
	and data indices exist and can be assumed to be up-to-date,
	whether the documentation sources contain the required name,
	alias, title, description, and keyword information, and whether
	there are any undocumented user level objects.

Please try to eliminate all problems reported by the R package builder
before submitting a package to CRAN.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._