checks_capture {checked} | R Documentation |
Parse R CMD checks from a partial check output string
checks_capture(x)
x |
A string, compsoed of any subsection of R CMD check console output |
A matrix of matches and capture groups "check" and "status" ("OK", "NONE", "NOTE", "WARNING" or "ERROR").
check_output <- "
* checking check one ... OK
* checking check two ... NOTE
* checking tests ...
Running test_abc.R
Running test_xyz.R
NONE
* checking check three ... WARNING
* ch
"
checks_capture(check_output)