NAMESPACE Workflow
The NAMESPACE file
- keeps track of how and when to import functions from another package and export function from your package
- generated from comments in
R/*.R files
- starts with comment explaining roxygen2 generation
- needs to be regenerated periodically
General Workflow
- Add namespace-related tags to roxygen comments in
R/*.R files.
- Run
devtools::document() which updates help topics and regenerates NAMESPACE