eval_from_log {packager}R Documentation

Evaluate a File's Tagged Lines

Description

Just a wrapper for evaluating the tagged code obtained via grep_log. rcmdcheck::rcmdcheck are cated so we can evaluate them from reading logs (on ⁠gitlab⁠, for example)

Usage

eval_from_log(...)

Arguments

...

Arguments passed to grep_log.

Value

The object obtained by evaluating the file.

Examples

## Not run: 
# We need "." to be a package directory, and it takes quite some time.
sink_file <- tempfile()
sink(sink_file)
rcmdcheck_and_log(".")
sink()
rcmdcheck <- eval_from_log(sink_file, pattern = "=== packager rcmdcheck:")

## End(Not run)

[Package packager version 1.15.3 Index]