completeDescription: completion for DESCRIPTION files

Description Usage Arguments Value Author(s) References See Also

Description

Proposes completions for a DESCRIPTION file.

Usage

1
2
completeDescription(file, row, column, text = readLines(file), 
    author = getOption("svTools.description.author"))

Arguments

file

a DESCRIPTION file to complete.

row

line in the file where the cursor is located.

column

column in the file where the cursor is located.

text

text to complete.

author

how to complete Author fields. The default value looks for the "svTools.description.author" option.

Value

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\".

Author(s)

Romain Francois <francoisromain@free.fr>

References

Writing R extensions defines what should be in a DESCRIPTION file

See Also

lintDescription



Search within the svTools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.