From maechler at stat.math.ethz.ch  Wed May  7 11:23:05 2014
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed, 7 May 2014 11:23:05 +0200
Subject: [Rd] Problem running checks after building R-patched
In-Reply-To: <6DBFB305-73DE-47E7-9632-BFD4AF6E4849@xs4all.nl>
References: <6DBFB305-73DE-47E7-9632-BFD4AF6E4849@xs4all.nl>
Message-ID: <21353.64377.853858.865080@stat.math.ethz.ch>

>>>>> Berend Hasselman <bhh at xs4all.nl>
>>>>>     on Wed, 7 May 2014 09:24:46 +0200 writes:

    > I am compiling the latest R-patched (Revision: 65533) Ubuntu Lucid (10.04).

    > Building succeeds but make check stops with an error.
    > The output in the terminal from make check:

    > Testing examples for package ?base?
    > Testing examples for package ?tools?
    > Error: testing 'tools' failed
    > Execution halted
    > make[3]: *** [test-Examples-Base] Error 1
    > make[2]: *** [test-Examples] Error 2
    > make[1]: *** [test-all-basics] Error 1
    > make: *** [check] Error 2

    > The last lines in  the output of tests/Examples/tools-Ex.Rout.fail are

    >> ### ** Examples
    >> 
    >> gVigns <- pkgVignettes("grid")
    >> ## Don't show: 
    >> `%=f=%` <- function(a, b) normalizePath(a) == normalizePath(b)
    >> with(gVigns,
    > +       stopifnot(engines == "utils::Sweave",
    > +                 pkgdir %=f=% system.file(package="grid"),
    > +                 dir    %=f=% system.file(package="grid", "doc"),
    > +                 (n. <- length(docs)) >= 12, # have 13 
    > +                 n. == length(names), n. == length(engines),
    > +                 length(msg) == 0) ) # as it is a 'base' package
    > Error: (n. <- length(docs)) >= 12 is not TRUE
    > Execution halted

    > How do I fix this, if possible?
    > Berend

Well, as it works correctly for others,
why don't you execute the above code in your (self installed ?) version
of R, and find out why -- I think -- the vignettes of grid were
not built / installed correctly ?

Martin



[Rd] Problem running checks after building R-patched
Martin Maechler