Learn R Programming

devtools (version 2.2.2)

check_failures: Parses R CMD check log file for ERRORs, WARNINGs and NOTEs

Description

Extracts check messages from the 00check.log file generated by R CMD check.

Usage

check_failures(path, error = TRUE, warning = TRUE, note = TRUE)

Arguments

path

check path, e.g., value of the check_dir argument in a call to check()

error, warning, note

logical, indicates if errors, warnings and/or notes should be returned

Value

a character vector with the relevant messages, can have length zero if no messages are found

See Also

check()