checks_capture {checked}R Documentation

Parse R CMD checks from a partial check output string

Description

Parse R CMD checks from a partial check output string

Usage

checks_capture(x)

Arguments

x

A string, compsoed of any subsection of R CMD check console output

Value

A matrix of matches and capture groups "check" and "status" ("OK", "NONE", "NOTE", "WARNING" or "ERROR").

Examples

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)


[Package checked version 0.2.0 Index]