Skip to content
Back to formatted view

Raw Message

Message-ID: <CABdHhvGp93siXObHgCiFAi7zyee=REy22XM5O05X75=fUaf0VQ@mail.gmail.com>
Date: 2013-02-25T22:56:04Z
From: Hadley Wickham
Subject: Recommended way to call/import functions from a Suggested package
In-Reply-To: <512BE76D.8090107@fhcrc.org>

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