Re: [Rd] Suggests and examples

From: Jay Emerson <jayemerson_at_gmail.com>
Date: Sun, 03 Apr 2011 14:30:02 -0400

That must be it. Our new 3.0.0 has then added the Suggests, and as the changes from 2.2.0 to 3.0.0 were unrelated I assumed we had been properly suggesting previously; apparently not.

Thanks,

Jay

On Sun, Apr 3, 2011 at 1:57 PM, Uwe Ligges <ligges_at_statistik.tu-dortmund.de> wrote:
>
>
> On 03.04.2011 19:31, Jay Emerson wrote:
>>
>> I apologize in advance for probably missing something obvious, but if
>> someone could point me in the right direction I'd be grateful.  This
>> NOTE is not unique to our package (I list a few others, below).
>>
>> Package bcp has several Suggests (strucchange, for example).
>
>
> Well, at least the version ion CRAN does not have any Suggests entry in its
> DESCRIPTION file...
>
> Uwe
>
>
>
>> Then in an Rd file, we have
>>
>> if (require(strucchange)) {
>>
>>   # Doing some examples making use of strucchange
>>
>> }
>>
>> The CRAN check results reports the following NOTE:
>>
>> checking for unstated dependencies in examples ... NOTE
>> 'library' or 'require' calls not declared from:
>> DNAcopy coda strucchange
>>
>> I note the same problems in other packages (e1071, Deducer, diveMOVE,
>> gplots, ...)
>>
>> Any hints?  I'm pretty confident that Suggests: is preferable to
>> Depends: in such a case, but I can't seem to address this note.
>> Thanks,
>>
>> Jay
>>
>>
>

-- 
John W. Emerson (Jay)
Associate Professor of Statistics
Department of Statistics
Yale University
http://www.stat.yale.edu/~jay

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun 03 Apr 2011 - 18:34:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Apr 2011 - 06:20:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive