completeRoxygen: completion for R oxygen entries
Description
Proposes completions for R oxygen inline documentation of R functions.Usage
completeRoxygen(line = "#'")
completeRoxygenParam(file, row, line = "#' @param ")
Arguments
row
location of the cursor (row) in the file.
line
line of code currently edited.
Value
- A list with the following items:
- tokentoken that is being completed.
- completionslist of current completions.
- tooltipfurther explanation about completion items (for
completeRoxygen() only).
concept
completion list for R oxygen inline code documentationReferences
Roxygen. http://roxygen.org/Examples
Run this codecompleteRoxygen("#'")
completeRoxygen("#' @ex")
Run the code above in your browser using DataLab