check_field: Syntactical check of a DESCRIPTION field

View source: R/syntax_checks.R

check_fieldR Documentation

Syntactical check of a DESCRIPTION field

Description

Syntactical check of a DESCRIPTION field

Usage

check_field(x, warn = FALSE, ...)

Arguments

x

The field.

warn

Whether to generate a warning if the syntax check fails.

...

Additional arguments, they might be used in the future.

Value

TRUE if the field is syntactically correct, otherwise a character vector, containing one or multiple error messages.


desc documentation built on Sept. 8, 2022, 5:06 p.m.