From Kurt.Hornik at wu-wien.ac.at  Thu Nov 27 17:06:09 2003
From: Kurt.Hornik at wu-wien.ac.at (Kurt Hornik)
Date: Thu Nov 27 17:08:00 2003
Subject: [Rd] R CMD CHECK doesn't allow --configure-args (PR#5344)
In-Reply-To: <20031127044629.52F70EDE9@slim.kubism.ku.dk>
References: <20031127044629.52F70EDE9@slim.kubism.ku.dk>
Message-ID: <16326.8433.535262.783646@mithrandir.hornik.net>

>>>>> bellis  writes:

> Full_Name: Byron Ellis
> Version: R-devel
> OS: Mac OS X
> Submission from: (NULL) (24.10.67.29)

> Unline R CMD INSTALL, R CMD CHECK does not allow --configure-args to
> be passed.  This is unfortunate as R CMD CHECK attempts to build the
> package, running any configure scripts that may be around thus failing
> on platforms that require configuration arguments to build properly.

You can always get by via something like

	R CMD INSTALL --configure-args=XXX -l pkg.Rcheck pkg
	R CMD check --install=skip pkg

The reason why we don't have a way of specifying arguments to install
when checking is mostly to be defensive about possible quoting issues
when passing arguments from the command line via Perl to the Shell.

-k


[Rd] R CMD CHECK doesn't allow --configure-args (PR#5344)
Kurt Hornik