11.8 Re-exporting
Making available to users of your package a function/object that is actually provided by one of your dependencies.
To do this you would:
- List the package that host the re-exported object in the
imports
field inDESCRIPTION
- In one of the
R/*.R
have a reference to the target function and include the import and export roxygen tags - Regenerate the
NAMESPACE
This will also lead to the generation of man/reexports.Rd
which is where you keep a record of all of your re-exported objects with links to their documentation.