From Kurt.Hornik@ci.tuwien.ac.at  Mon Apr  9 07:37:49 2001
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Mon, 9 Apr 2001 08:37:49 +0200
Subject: [Rd] extratests (wishlist item)
In-Reply-To: <3AC9D6C5.28965243@bank-banque-canada.ca>
References: <3AC9D6C5.28965243@bank-banque-canada.ca>
Message-ID: <15057.22717.101969.168503@mithrandir.hornik.net>

>>>>> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] extratests (wishlist item)
Kurt Hornik