In that case, you can use `importFrom()` as mentioned here:
http://cran.r-project.org/doc/manuals/R-exts.html#Specifying-imports-and-exports

On Tue, Jan 20, 2015 at 3:01 PM, Juan Manuel Truppia <[email protected]>
wrote:

> Yes, I use hadley tools regularly, and it's hadley himself who recommends
> not to import the whole namespace to avoid polluting (check his R packages
> book).
>
> On Tue, Jan 20, 2015, 10:53 Mick Cooney <[email protected]> wrote:
>
>> Hi Juan,
>>
>> That isn't really a workaround, it is the way you are supposed to
>> import things these days. The functionality for NAMESPACE files etc
>> changed a while ago with one of the version releases of R (I think it
>> was something like 2.13, but don't quote me). If you import it via a
>> namespace it should work fine.
>>
>> BTW, if you are developing a package, I highly recommend using Hadley
>> Wickham's devtools package. Combine that with roxygen2 for
>> documentation, and a huge amount of the bookkeeping and maintenance of
>> packages is taken care of for you.
>>
>>
>> --
>> Mick Cooney
>> [email protected]
>>
>
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to