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'| || |I understand that datasets are not exported, and the comment printed by 'R CMD check' seems not to have any consequences, but it nevertheless seems inconsistent to me. But maybe I miss something here... Pascal | -- Dr. Pascal A. Niklaus Department of Evolutionary Biology and Environmental Studies University of Zurich Winterthurerstrasse 190 CH-8057 Zurich / Switzerland |||| [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.