Skip to content

Check if some fields are present in a DESCRIPTION file

Usage

desc_has_fields(keys, file = ".")

Arguments

keys

Character vector of keys to check.

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

Logical vector.

See also

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