From ripley at stats.ox.ac.uk  Fri Apr 11 16:24:23 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 11 Apr 2008 15:24:23 +0100 (BST)
Subject: [Rd] make check fails if called with
 --without-recommended-packages
In-Reply-To: <20080411161132.102ee14e@renner>
References: <20080411161132.102ee14e@renner>
Message-ID: <alpine.LFD.1.00.0804111517490.8367@gannet.stats.ox.ac.uk>

It is by design.  Some tests will fail if you don't have iconv, also.

>From the manual:

   Failures are not necessarily problems as they might be caused by missing
   functionality, but you should look carefully at any reported
   discrepancies.

and that option is not even documented in the manual.

If you build without recommended packages or iconv or readline, you have 
to consciously do so and hence are expected to be aware that you have 
'missing functionality'.


On Fri, 11 Apr 2008, Detlef Steuer wrote:

> Hi,
>
> just for information:
>
> On Suse 10.3 x86
>> make check
>
> fails,
> if configure was called with --without-recommended-packages
>
> for the latest beta.
>
> The problem I stumbled upon is located in utlis. Here comes the relevant part
> of  utils-Ex.Rout.fail in R-2.7.0/tests/Examples
>
>> ### ** Examples
>>
>> require(stats)
>> glmout <- capture.output(example(glm))
> Fehler in .find.package(package, lib.loc, verbose = verbose) :
>  there is no package called 'MASS'
> Calls: capture.output ... eval.with.vis -> eval.with.vis -> <Anonymous> -> .find.package
> Ausf?hrung angehalten
>
> Seems tests using recommended packages aren't disabled, even if given 
> --without-recommended-packages.
>
> May be it's by design, i.e. make check shall only be run with 
> recommended packages, may be it's a bug(let).
>
>
> Regards
> Detlef
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] make check fails if called with --without-recommended-packages
Prof Brian Ripley