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


metacran/description documentation built on Jan. 16, 2024, 10:12 p.m.