I'm creating an R package. In my package project folder, I have a model object saved as a .rds
file. in a folder called data
. Additionally, I have a function saved in the R
folder.
How do I reference the model object in the example
section of documentation of the function in the R
folder?
I also have the same questions for dataset files saved as .rds
files in the data
folder. How do I reference those datasets in the example section when documenting functions.