gen_docs {gemini.R} | R Documentation |
Generate Roxygen Documentation
Description
Generates Roxygen2 documentation for an R function based on the currently selected code.
Usage
gen_docs(prompt = NULL)
Arguments
prompt |
A character string specifying additional instructions for the LLM. Defaults to a prompt requesting Roxygen2 documentation without the original code. |
Value
A character string containing the generated Roxygen2 documentation.
[Package gemini.R version 0.6.1 Index]