From h.wickham at gmail.com  Sat Sep  7 21:50:51 2013
From: h.wickham at gmail.com (Hadley Wickham)
Date: Sat, 7 Sep 2013 14:50:51 -0500
Subject: [Rd] directives to explicitely exclude objects from import into
	namespaces
In-Reply-To: <1378558096101-4675594.post@n4.nabble.com>
References: <522A4103.8000009@itwm.fraunhofer.de> <522A74D5.50705@gmail.com>
	<CAC2h7uvuqJQ4DdmKJA959pvG_SOKYceKjOb6eKh7Vz2_H-67cg@mail.gmail.com>
	<1378558096101-4675594.post@n4.nabble.com>
Message-ID: <CABdHhvEfjjFXKnNN95skJK2oD-tp6izhr5FsvPrX5A=o8zWxrA@mail.gmail.com>

It's difficult to do by hand, but it's not too hard to automate - take
a look at https://github.com/hadley/roxygen3/blob/master/R/auto-imports.r.
It's part of roxygen3, but the code is relatively straighforward and
doesn't depend on much else in the package.

Hadley

On Sat, Sep 7, 2013 at 7:48 AM, Ulrike Gr?mping <groemping at bht-berlin.de> wrote:
> I also second Peter's proposal. I think that it is particularly helpful to
> save time for maintainers of packages that were developed a longer time ago.
> When writing new packages, it is relatively easy to keep track of which
> functions from which packages need to be imported; when maintaining older
> code, working this out can be a lot of work.
>
> Best, Ulrike
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/directives-to-explicitely-exclude-objects-from-import-into-namespaces-tp4675564p4675594.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



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



[Rd] directives to explicitely exclude objects from import into namespaces
Hadley Wickham