On 18/09/2020 12:52 p.m., Dirk Eddelbuettel wrote:
On 18 September 2020 at 18:38, Nuria Perez-Zanon wrote: | I am maintaining a package call CSTools which is aimed for | post-processing climate simulations. [...] | library(CSTools) | library(qmap) You never use library() in a package. Rather, you declare dependency relationsships via DESCRIPTION (and likely NAMESPACE). See "Writing R Extensions" for all the details.
I think you misread the post: this was an example of code a user would run, not code from the package.
Duncan Murdoch ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel