1. Learn
  2. /
  3. Courses
  4. /
  5. Creating R Packages

Exercise

Exporting functions

Although the NAMESPACE file is used to identify functions that are exported you use roxygen tags to create this file. This makes it really easy to see, right next to the function, if your users will be able to work with it or not.

We mark a function for exporting using the tag @export.

Instructions

100 XP
  • Add an export tag to the data_summary() function.