Dear Thierry,
Thanks, that indeed solved the warning.
Still, I think the message from R CMD check is confusing since the hint
seems not to work with the current R version.
Pascal
On 2016-06-21 11:31, Thierry Onkelinx wrote:
Dear Pascal,
You could try to use data(CO2, package = "datasets")
Dear Pascal,
You could try to use data(CO2, package = "datasets") instead of data(CO2)
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070
Hi all,
When checking an R package, I get:
|Consider adding importFrom("datasets","CO2")
(this data set is used in some example code)
However, when I add the suggested 'importFrom' statement to NAMESPACE
(using roxygen2), I get
|
|Error :object ‘CO2’ is not exported by 'namespace:datasets'|
||
3 matches
Mail list logo