document() command does not add all files to the NAMESPACE

Hello All,

I am rewriting some functionally related R modules into a package, using devtools.
All the new files are in R subfolder. Roxygen documentation added.
After load_all and document, without getting any error (and all .RD files created), I still miss some files in the NAMESPACE.
Any ideas?

Thank you,

As you didn't get any eror with load_all, I assume you are refferring to export as you mentioned missing some files in the NAMESPACE, have you explicitly exported those objects using @export tag as needed?

see reference here from R package book
Chapter 13 Namespace | R Packages (


This topic was automatically closed 7 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.