Detlef Steuer
2008-Apr-11 14:11 UTC
[Rd] make check fails if called with --without-recommended-packages
Hi, just for information: On Suse 10.3 x86> make checkfails, 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
Prof Brian Ripley
2008-Apr-11 14:24 UTC
[Rd] make check fails if called with --without-recommended-packages
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
Reasonably Related Threads
- scripting/littler: How to call function named iteratively (`f1`, `f2`, …)?
- namespace crash on S3method("as.ff",function)
- getopt does not work as expected!
- Undefined symbol "Rf_pythag" while loading spatstat
- R 2.8.0 qqnorm produces error with object of class zoo?