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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "KH" == Kurt Hornik <hornik@ci.tuwien.ac.at> writes:KH> I would like to bring the attention of R package maintainers/developers KH> to the mechanisms for checking and building add-on packages that come KH> with the R distribution. KH> * R CMD check has been around for a while. It can be used for run-time KH> testing the examples that come with an installed add-on package. Recent KH> development versions of R also have preliminary support for additional KH> specific regression testing. KH> * R CMD build should be used for actually building the add-on packages, KH> in particular if you are planning to upload them to CRAN. From the R KH> Extension Writers Guide: KH> Prior to actually building the package in the common gzipped tar KH> file format, a variety of diagnostic checks and cleanups are KH> performed. In particular, it is tested whether the KH> `DESCRIPTION' file contains the required entries, whether object KH> and data indices exist and can be assumed to be up-to-date, KH> whether the documentation sources contain the required name, KH> alias, title, description, and keyword information, and whether KH> there are any undocumented user level objects. KH> Please try to eliminate all problems reported by the R package builder KH> before submitting a package to CRAN. The "data index" is mentioned in the R Extensions Writer guide as>> The subdirectory should contain a `00Index' file >> that describes the datasets available.Now since this is now required, what is the format of that file? what must/should it contain? Shouldn't this be built automatically from the data's *.Rd files when it doesn't exist? Thanks for any clarification; the requirement of this 00Index has been new for me (must have slept at some time in the past...). Martin. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
i am trying to compile xgobi ob my solaris box, but i don't have /usr/ccs/bin/cc installed is there a makefile for building xgobi on solaris with gcc? please answer directly to ma also, since i am reading this list in digest form -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
i solved the problem myself, but perhaps somebody else needs to know. there is a subdirectory which has a makefile for gcc. it is mentioned in the docs. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Let me start out by saying that after using "R CMD build" for a few days it appears to be a truely wonderful facility, even if I didn't really want to know about all the problems with my packages right now.>Please try to eliminate all problems reported by the R package builder >before submitting a package to CRAN.Now here are a few caveates. Please let me know if I'm not aware of something that has already been fixed. 1/ I'm using a file 00General_Description.Rd to provide a general description of the package. This gets reported as an Rd file without alias, but even though the package builder reports that as a problem I didn't intend to eliminate it. 2/ Specific methods get reported as undocumented functions unless the generic documentation has an alias line for the specific method. This is not a problem when everything is in one package, however, for many of my specific methods the generic method is in another of my packages or in the base. (This can generate a lot of warning, which obscure more important warnings.) I'm putting a "stub" description in to eliminate all the warnings, but I'm not sure if this is the ideal way to do this. 3/ Data sets cannot use constructors in the package. They need to be structures which can be fully recognized by the base system. (.rda files may be a better alternative in this case?) 4/ R CMD build does not work for bundles, but it can be used to test sub-packages and then the bundle rolled up afterwards directly with tar and gzip. (This is not difficult and not a problem, but people should be aware of it.) Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._