datacamp-logo

Export best practice

Exporting a function makes it available for the end users of your package. Functions that are not exported are not directly available to your end users. It's a really useful way to hide low level functions that you write to break up the main functionality.

It can often be tricky to decide which functions should be exported. Take a look at the descriptions below. Which one would you export?

Answer the question
50 XP
Possible Answers
  • press
  • press
  • press