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

desc_has_fields {desc} | R 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_or_fail`, `desc_get`, `desc_set`

[Package desc version 1.1.0 Index]