Learn R Programming

roxygen2 (version 2.2.2)

parse.default: Default parser which simply emits the key and expression.

Description

Used for elements with optional values (like @export) where roclets can do more sophisticated things with NULL.

Usage

parse.default(key, rest, srcref)

Arguments

key
the parsing key
rest
the expression to be parsed
srcref
srcref providing location of file name and line number

Value

  • A list containing the key and expression (possibly null)

See Also

Other preref parsing functions: parse.name, parse.name.description, parse.toggle, parse.unknown, parse.value