We use this technique in a couple of places:
https://github.com/tidyverse/dbplyr/blob/6be777d8b23d588f19c98de52f4e58f16c2ef67e/R/zzz.R
Basic idea is to call registerS3method() manually, when needed - it's
just a little tricky because the suggested package may be loaded
either before or after your
On Thu, Dec 7, 2017 at 2:44 AM, Bill Denney wrote:
>
>> On Dec 6, 2017, at 07:45, Joshua Ulrich wrote:
>>
>> To avoid excessive dependencies, I would like to only register
>> foo.bar() if package A is installed at the time package B is
>> installed. If package A is installed after package B, the
On 07/12/2017 4:43 AM, Pijush Das wrote:
Hello Sir,
I have been trying to create a package in R.
When I have put the check option in R studio to check everything is ok that
time I have found
two warnings and three notes. Those are given below.
warnings:
1) * checking dependencies in R code ..
Bill, Duncan,
Thanks for the replies.
On Wed, Dec 6, 2017 at 12:51 PM, Duncan Murdoch
wrote:
> On 06/12/2017 8:44 AM, Bill Denney wrote:
>>
>>
>>> On Dec 6, 2017, at 07:45, Joshua Ulrich wrote:
>>>
>>> To avoid excessive dependencies, I would like to only register
>>> foo.bar() if package A is