[R] Package cwhmisc and problems
William Dunlap
wdunlap at tibco.com
Tue Aug 28 21:32:10 CEST 2012
You could try running the dependency checker function directly and
then using the usual R debugging tools to start tracking down the problem.
E.g., I have a package in ~/packages/foo with a bogus entry in
the Depends line of DESCRIPTION:
> tools:::.check_package_depends(dir="~/packages/foo")
Package required but not available: 'noSuchPkg'
Presumably you would get an error there and could use traceback()
to see where it came from. Try the call with force_suggests=FALSE
as well.
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of Christian Hoffmann
> Sent: Tuesday, August 28, 2012 12:20 PM
> To: R-help at r-project.org
> Subject: [R] Package cwhmisc and problems
>
> Hi,
> I have revised my package cwhmisc and want to re-submit it (meeting a
> deadline soon). One big stumbling stone is the 'sudden' appearance of
>
> > sessionInfo()
> R version 2.15.1 (2012-06-22)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] C
>
> attached base packages:
> [1] tools tcltk stats4 splines parallel datasets compiler
> [8] graphics grDevices stats grid utils methods base
>
> other attached packages:
> [1] survival_2.36-14 spatial_7.3-3 rpart_3.1-53 nnet_7.3-1
>
> [5] nlme_3.1-104 mgcv_1.7-18 foreign_0.8-50
> codetools_0.2-8
> [9] cluster_1.14.2 class_7.3-3 boot_1.3-4 Matrix_1.0-6
>
> [13] MASS_7.3-18 KernSmooth_2.23-7 cwhmisc_3.0 lattice_0.20-6
> > system("R CMD check /Users/hoffmann/R/cwhmisc")
> * using log directory
> '/Users/hoffmann/Projects/LtoQ/Mathematics/cwhmisc.Rcheck'
> * using R version 2.15.1 (2012-06-22)
> * using platform: x86_64-apple-darwin9.8.0 (64-bit)
> * using session charset: ASCII
> * checking for file 'cwhmisc/DESCRIPTION' ... OK
> * this is package 'cwhmisc' version '3.1'
> * checking package namespace information ... OK
> * checking package dependencies ...Error in if (x2 != x1) { : missing
> value where TRUE/FALSE needed
> Execution halted
> >
> Grep-ing my source directory for '(x2 != x1)' does not find anything, so
> I guess this is a message internal to R CMD check, namely in
>
> "package dependencies“ .
>
> This error appeared so suddenly during a run of R CMD check's that I
> have no explanation, I beg to ask to give me a pointer to how to
> circumvent this block. I can send you my whole source of *.R and *.Rd
> files if that can be of any help.
>
> Thanks for assisting me (r-devel has so far not answered my request)
>
> Christian Hoffmann
>
> --
> Christian W. Hoffmann,
> CH - 8915 Hausen am Albis, Switzerland
> Rigiblickstrasse 15 b, Tel.+41-44-7640853
> c-w.hoffmann at sunrise.ch,
> christian at echoffmann.ch,
> www.echoffmann.ch
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list