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

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



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


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

See also