completeDescription: completion helper for DESCRIPTION files
Description
Attemps to find completions for a DESCRIPTION fileUsage
completeDescription(file, row, col, text = readLines(file),
author = getOption("svTools.description.author"))Arguments
file
DESCRIPTION file to complete
row
line in the file where the cursor is
col
column in the file where the cursor is
author
How to complete Author fields. The default value
looks for the "svTools.description.author" option
Value
- A list with the following items
- oklogical indicating if there actually are completions
- datacharacter matrix. The first column gives the completion, the second a description
- tokentoken that is being completed
- typetype of results, can be "package", "fields", "other"
References
Writing R extensions defines what should be in a DESCRIPTION file