If your project is not already loaded in Rstudio load it: Go to the File
tab, select Open Project
, browse to the location of your project directory and double click on the file dsFirstPack.Rproj
.
Set the Rstudio components required to generate the documentation of each function from the header of our function script (the header of the function will be explained in details later):
Build
and select Configure Build Tools ...
a window will pop upProject Options
window that came up select Package
for the parameter Project build tools
Generate documentation with Roxygen
and another small window will appearRoxygen options
OK
button on all windows to finish