make check isn't quite right

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Thu, 22 Apr 1999 08:30:29 +0200 (CEST)


>>>>> Robert Gentleman writes:

> If I don't build the help pages at the start and then
> do make check, 
>   the examples for the base man pages get made but not
> for any of the packages:

>> example("smooth",package="eda")
> Error: No help file found for'smooth'
> Execution halted

Your observation is correct.  What currently happens is something like

	make R
	for pkg in PKGS; do
	  maybe rebuild pkg examples/help pages
	  try to run the examples
	done

This will fail if the tests for pkg1 assume that pkg2 help/examples must
be there.

We could easily change the `make R' to `make; make help; make examples'
but I am not sure that this is the right thing.  Conceptually, `eda' is
an add-on package and all that must be there is base (Rlang/Rstat), so I
think the example should be changed.

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