I\'m trying to add an example of a function within my package. That for I want to use roxygen2. I\'m doing the following (just a part of my code, at the end of roxygen2 document
Use @examples, not @example (it's meant for code stored in external files)
@examples
@example