desc_get_or_fail {desc}R Documentation

Get fields from a DESCRIPTION file, fail if not found

Description

Get fields from a DESCRIPTION file, fail if not found

Usage

desc_get_or_fail(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, desc_has_fields, desc_set


[Package desc version 1.1.0 Index]