gen_docs | R Documentation |
Generates Roxygen2 documentation for an R function based on the currently selected code.
gen_docs(prompt = NULL)
prompt |
A character string specifying additional instructions for the LLM. Defaults to a prompt requesting Roxygen2 documentation without the original code. |
A character string containing the generated Roxygen2 documentation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.