ligges@statistik.uni-dortmund.de
2004-Apr-15 11:19 UTC
[Rd] R CMD check on Win fails to detect failed installations (PR#6768)
I just post it not to forget - will try to contribute a fix. Example: CDNmoney_2003.9-2.tar.gz (in the archives section of CRAN) [There is another problem here I'll address separately.] If running solely, R CMD check CDNmoney fails to detect a failed installation on Windows. Instead, it reports: * checking whether package 'CDNmoney' can be installed ... OK Of course, the check fails later, but with some meaningless error messages. The repository maintainer's approach works (i.e. detects the problem): R INSTALL CDNmoney > install.log 2>&1 R CMD check --install="check:install.log" CDNmoney Uwe Ligges --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status major = 1 minor = 9.0 year = 2004 month = 04 day = 12 language = R Windows NT 4.0 (build 1381) Service Pack 6 Search Path: .GlobalEnv, package:methods, package:stats, package:graphics, package:utils, Autoloads, package:base
Prof Brian Ripley
2004-Apr-18 14:33 UTC
[Rd] R CMD check on Win fails to detect failed installations (PR#6768)
I think you had to be using an install log to get that message. It is true that R_system($cmd) is not returning an error code, and I've fixed that. On Thu, 15 Apr 2004 ligges@statistik.uni-dortmund.de wrote:> I just post it not to forget - will try to contribute a fix. > > Example: CDNmoney_2003.9-2.tar.gz (in the archives section of CRAN) > [There is another problem here I'll address separately.] > > If running solely, > R CMD check CDNmoney > fails to detect a failed installation on Windows. Instead, it reports: > * checking whether package 'CDNmoney' can be installed ... OK > > Of course, the check fails later, but with some meaningless error messages. > > > The repository maintainer's approach works (i.e. detects the problem): > > R INSTALL CDNmoney > install.log 2>&1 > R CMD check --install="check:install.log" CDNmoney > > > Uwe Ligges > > > --please do not edit the information below-- > > Version: > platform = i386-pc-mingw32 > arch = i386 > os = mingw32 > system = i386, mingw32 > status > major = 1 > minor = 9.0 > year = 2004 > month = 04 > day = 12 > language = R > > Windows NT 4.0 (build 1381) Service Pack 6 > > Search Path: > .GlobalEnv, package:methods, package:stats, package:graphics, > package:utils, Autoloads, package:base > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley@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