desc_get_or_fail {desc} | R Documentation |
Get fields from a DESCRIPTION file, fail if not found
desc_get_or_fail(keys, file = ".")
keys |
Character vector of fields to get. |
file |
DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used. |
Character vector, values of the specified keys.
Non-existing keys return NA
.
Other simple queries: desc_del
,
desc_fields
, desc_get
,
desc_has_fields
, desc_set