document (version 3.0.1)

checks: Are There Errors, Warnings or Notes From rcmdcheck?

Description

rcmdcheck returns a list containing characters that give errors, warnings and notes.

Usage

checks(rcmdcheck_value)

Arguments

rcmdcheck_value

The return value of rcmdcheck.

Value

A named logical vector, all FALSE if there were no errors, warnings or notes.

Details

Use ! any(checks(x))) to ensure there were no errors, warnings or notes in x.