[Rd] R CMD check problem on R 2.6.1 RC

Duncan Murdoch murdoch at stats.uwo.ca
Thu Nov 22 15:54:53 CET 2007


On 11/22/2007 9:26 AM, Ulrike Grömping wrote:
> I suppose I should add that this is under Windows (XP).
> Regards, Ulrike
> 
> 
> Ulrike Grömping wrote:
>> 
>> Dear R-developers,
>> 
>> I'm experiencing a problem with having an example run under R 2.6.1 RC
>> (downloaded and installed today, r43513), which does not occur on R 2.6.0:
>> The new version of package relaimpo does list package survey under
>> "Depends", and an example directly (i.e. not only from within a function
>> of relaimpo) uses function svydesign from package survey. Package survey
>> is installed and available when working from within the new
>> R-installation. However, under R CMD check, the example fails with the
>> message "could not find function svydesign" (backtranslated from German).
>> It does work fine under all previous versions of R that I tested (2.3.1,
>> 2.5.1, 2.6.0). 
>> 
>> It may be of interest that function boot from package boot (also listed
>> under Depends, called from within functions of package relaimpo) works
>> without problems.

I just tried running R CMD check on relaimpo_1.2-2.tar.gz from CRAN, and 
it gave no error, only the warning

* checking R code for possible problems ... NOTE
calc.relimp.default: no visible global function definition for
   'pmvdcalc'

You didn't say whether this is the "new version" you were testing.  If 
it is, then I'd guess that you have survey installed in a place that R 
CMD check doesn't know about.  Do you normally have two libraries in 
your .libPaths()?

If you were trying something newer than 1.2-2, then I think you'll have 
to make it available somewhere for us to try if you want us to diagnose 
the problem.

Duncan Murdoch



More information about the R-devel mailing list