desc_get: Get a field from a DESCRIPTION file

desc_getR Documentation

Get a field from a DESCRIPTION file

Description

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()


r-lib/desc documentation built on Aug. 29, 2024, 5:23 p.m.