Open pcarbo opened 7 years ago
The standard for packages is to explicitly load functions into the namespace from other packages, and not use require(pkg) or library(pkg) within package functions:
require(pkg)
library(pkg)
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Specifying-imports-and-exports
Also add export statements for functions that are visible to the user.
export
See here for an example.
The standard for packages is to explicitly load functions into the namespace from other packages, and not use
require(pkg)
orlibrary(pkg)
within package functions:https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Specifying-imports-and-exports
Also add
export
statements for functions that are visible to the user.See here for an example.