Learn R Programming

dataquieR (version 2.0.1)

util_eval_to_dataquieR_result: Evaluate an expression and create a dataquieR_result object from it's evaluated value

Description

if an error occurs, the function will return a corresponding object representing that error. all conditions will be recorded and replayed, whenever the result is printed by print.dataquieR_result.

Usage

util_eval_to_dataquieR_result(
  expression,
  env = parent.frame(),
  filter_result_slots
)

Value

a dataquieR_result object

Arguments

expression

the expression

env

the environment to evaluate the expression in

filter_result_slots

character regular expressions, only if an indicator function's result's name matches one of these, it'll be used for the report. If of length zero, no filtering is performed.