View source: R/setup_roxygen.R
setup_roxygen | R Documentation |
Creates or updates Roxygen documentation for all tidy data sets found in the dictionary file.
When first run, this function creates the Roxygen documentation with placeholders for the title and description field. The dictionary should include columns for directory, file name, variable name, variable type, and description. This function generates Roxygen comments with this information, facilitating consistent and thorough documentation for your data sets.
When re-run this function, this function updates only the variable description entries in the Roxygen documentation files within R/ directory. The title and description fields remain unchanged.
setup_roxygen()
NULL. This function creates documentation files inside "R/". Error if tidy data cannot be found.
## Not run:
setup_dictionary()
# Once the dictionary is created, go to data-raw/dictionary.csv and complete the column description.
setup_roxygen()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.