Re: [Rd] directives to explicitely exclude objects from import into namespaces

2013-09-07 Thread Hadley Wickham
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,

Re: [Rd] directives to explicitely exclude objects from import into namespaces

2013-09-07 Thread Ulrike Grömping
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 c