[R-pkg-devel] Dependency needs to be loaded manually even its specified in the package
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Fri Sep 18 18:52:58 CEST 2020
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.
Dirk
--
https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-package-devel
mailing list