completeDescription {svTools} | R Documentation |
Attemps to find completions for a DESCRIPTION file
completeDescription(file, row, col, text = readLines(file), author = getOption("svTools.description.author"))
file |
DESCRIPTION file to complete |
row |
line in the file where the cursor is |
col |
column in the file where the cursor is |
text |
text to complete |
author |
How to complete Author fields. The default value looks for the "svTools.description.author" option |
A list with the following items
ok |
logical indicating if there actually are completions |
data |
character matrix. The first column gives the completion, the second a description |
token |
token that is being completed |
type |
type of results, can be "package", "fields", "other" |
Romain Francois <francoisromain@free.fr>
Writing R extensions defines what should be in a DESCRIPTION file