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.