quasi_capture: Method capturing the run

Description Usage Arguments Value Author(s)

View source: R/utils.testthat.R

Description

Method capturing the run

Usage

1
quasi_capture(quo, capture, label = NULL)

Arguments

quo

an rlang quo

capture

A function to derive the output / warnings / messages of the function as e.g. evaluate_promise

label

character A label for the evaluated value

Value

act A list including the label (lab), a caputre of the function (cap) and the code call itself as (..)

Author(s)

Sebastian Wolf sebastian@mail-wolf.de)


RTest documentation built on Dec. 4, 2019, 5:07 p.m.