>>>>> Paul Gilbert writes:
> I have now reorganized most of my tests into the tests subdirectories
> of my packages and I do like the R CMD check mechanism for running
> them. However, I have a certain number of tests which I can only run
> on certain machines (e.g. because of memory requirements or special
> database requirements), or just take too long to run regularly. I have
> organized these into an artificial separate package. It would make
> more sense to keep these with the packages to which they belong. Would
> it be possible sometime to add a subdirectory of extra tests which can
> be run with the same mechanism as the tests subdirectory but not as a
> regular part of R CMD check?
Paul,
I think you could have a configure script which determines the platform
you are on, sets variables
test-src-1
test-src-auto
accordingly, and saves them in tests/Makevars by substituting from
tests/Makevars.in. (Sorry if this most likely only works on Unix.)
-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._