[R-pkg-devel] Used package not updated - needs java < V 11
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Wed Dec 16 16:57:40 CET 2020
On 16/12/2020 10:21 a.m., Knut Krueger wrote:
> Am 15.12.20 um 14:37 schrieb Duncan Murdoch:
>
> thank you for your answer
>
>> You should not have
>>
>> @importFrom XLConnect createSheet writeWorksheet saveWorkbook
>>
>> in your ROxygen comments; that results in an unconditional import.
>> Instead, you should use fully qualified calls each time, i.e.
>>
>> XLConnect::createSheet, XLConnect::writeWorksheet, XLConnect::saveWorkbook
>>
>
> #' @importFrom XLConnect::createSheet, XLConnect::writeWorksheet,
> XLConnect::saveWorkbook
>
> This causes the error "there is no package called ‘XLConnect::createSheet,’"
No, you should drop the @importFrom comment completely, and in your R
code use those fully qualified forms.
Duncan Murdoch
More information about the R-package-devel
mailing list