From h.wickham at gmail.com  Mon Feb 25 23:56:04 2013
From: h.wickham at gmail.com (Hadley Wickham)
Date: Mon, 25 Feb 2013 16:56:04 -0600
Subject: [Rd] Recommended way to call/import functions from a Suggested
	package
In-Reply-To: <512BE76D.8090107@fhcrc.org>
References: <FD2C7845-F6AD-4AA1-91C1-8CB14F43AA7D@stat.ubc.ca>
	<CABdHhvHkJkyzKODdDKKt+fmCeUAXJC7L24vXLuLPWmRYsYZtkQ@mail.gmail.com>
	<FDF2030A-2A91-4A40-B09F-C4DD78682A62@r-project.org>
	<CABdHhvHx1H09Qbx6mGBZUkB-yyta5nNv-cg=JgbS+0Js-iN7Yw@mail.gmail.com>
	<4F6FBC64-4EAE-43E2-B041-B54663CDF950@stat.ubc.ca>
	<CABdHhvEwU9mgnnL1=iHur-JMFwOOPkkv8P164g=uVuaf8xWajQ@mail.gmail.com>
	<512BE76D.8090107@fhcrc.org>
Message-ID: <CABdHhvGp93siXObHgCiFAi7zyee=REy22XM5O05X75=fUaf0VQ@mail.gmail.com>

> loadNamespaces loads but does not attach the package. Suggests: is enough to
> quieten the warning with
>
> ~/tmp$ R --version
> R Under development (unstable) (2013-02-21 r62017) -- "Unsuffered
> Consequences"
>
> This is consistent with RShowDoc("R-exts") section 1.1.1
>
>   Namespaces accessed by the ?::? and ?:::? operators must be listed here,
> or in ?Suggests? or ?Enhances? (see below).

I guess that's changed since I last tried it.  (My reproducible
example forgot to include MASS in the Suggests :/ )

Thanks!

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/



[Rd] Recommended way to call/import functions from a Suggested package
Hadley Wickham