From Kurt.Hornik@ci.tuwien.ac.at  Thu Apr 22 07:30:29 1999
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Thu, 22 Apr 1999 08:30:29 +0200 (CEST)
Subject: make check isn't quite right
In-Reply-To: <Pine.SV4.4.05.9904211644330.29773-100000@hsph.harvard.edu>
References: <x2aew2x7ie.fsf@blueberry.kubism.ku.dk>
 <Pine.SV4.4.05.9904211644330.29773-100000@hsph.harvard.edu>
Message-ID: <14110.49669.12978.909618@pc87.maho.magnaeu.com>

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


make check isn't quite right
Kurt Hornik