When developing a function for a package that is based on functions of other packages, how to avoid including those packages in the function. For example:
Load the necessary packages
library(sf)
library(h3jsr)
When developing a function for a package that is based on functions of other packages, how to avoid including those packages in the function. For example:
library(sf)
library(h3jsr)
You need to declare your dependencies in the DESCRIPTION
file, and potentially also in the NAMESPACE
file. See more at
Thank you very much Gabor.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.