What does “Error in namespaceExport(ns, exports) : undefined exports” mean?
When building a package, I got the error Error in namespaceExport(ns, exports) : undefined exports: FooBarBaz What does this mean, and how do I fix it? This error occurs when you try to export an object that doesn't exist. That is, the package NAMESPACE file contains the line export(FooBarBaz) but FooBarBaz doesn't exist in the package. One case where this error can occur is when you are trying to create a common help page for several functions using roxygen2 . In the example below, f and g are related functions to be documented in the WidgetUtils page. #' Widget-related functions #' #'