util_eval_to_dataquieR_result: Evaluate an expression and create a 'dataquieR_result' object...

View source: R/util_eval_to_dataquieR_result.R

util_eval_to_dataquieR_resultR Documentation

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
)

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.

Value

a dataquieR_result object


dataquieR documentation built on July 26, 2023, 6:10 p.m.