desc_has_fields: Check if some fields are present in a DESCRIPTION file

desc_has_fieldsR Documentation

Check if some fields are present in a DESCRIPTION file

Description

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


r-lib/desc documentation built on Sept. 17, 2022, 5:07 p.m.