Re: [Rd] Suggests and examples

From: Uwe Ligges <>
Date: Sun, 03 Apr 2011 19:57:47 +0200

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...


> 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
> mailing list Received on Sun 03 Apr 2011 - 18:03:00 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 - 04:20:40 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive