Skip to content

Get a field from a DESCRIPTION file

Usage

desc_get(keys, file = ".")

Arguments

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.

Value

Character vector, values of the specified keys. Non-existing keys return NA.

See also

Other simple queries: desc_del(), desc_fields(), desc_get_field(), desc_has_fields(), desc_set()