From murdoch at stats.uwo.ca  Thu Nov 22 15:54:53 2007
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Thu, 22 Nov 2007 09:54:53 -0500
Subject: [Rd] R CMD check problem on R 2.6.1 RC
In-Reply-To: <13897482.post@talk.nabble.com>
References: <13894334.post@talk.nabble.com> <13897482.post@talk.nabble.com>
Message-ID: <4745983D.8030700@stats.uwo.ca>

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



[Rd] R CMD check problem on R 2.6.1 RC
Duncan Murdoch