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

Kurt Hornik Kurt.Hornik at wu-wien.ac.at
Thu Nov 27 17:06:09 MET 2003


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



More information about the R-devel mailing list