Re: [R-pkg-devel] Using data.table in a package

2021-03-05 Thread Dirk Eddelbuettel
Martin, Both questions are FAQs. Searches at e.g. StackOverflow might have lead you to a solution (and you can search there, key is to add the tag i.e. make [r] or [data.table] part of the search term). The first one is a generic package programming question. You can use Imports: in

Re: [R-pkg-devel] Using data.table in a package

2021-03-05 Thread neonira Arinoem
Question one is a matter of personal preference. I personally stick to explicitly state a double column depency with data.table. Question two. Just replacing the dot by list is sufficient AFAIK. Hope this helps Le ven. 5 mars 2021 à 14:28, Martin Møller Skarbiniks Pedersen <

Re: [R-pkg-devel] Using data.table in a package

2021-03-05 Thread Duncan Murdoch
On 05/03/2021 8:27 a.m., Martin Møller Skarbiniks Pedersen wrote: Hi, I am converting a couple of functions into a R-package. Many of the functions use data.table. I have two questions using data.table in my own package. Normally I would put each question in separate emails but I think