util_eval_to_dataquieR_result function

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

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

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 .

util_eval_to_dataquieR_result( expression, env = parent.frame(), filter_result_slots, nm, function_name, my_call = expression, my_storr_object = NULL, init = FALSE, called_in_pipeline = TRUE )

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.
  • nm: character name for the computed result
  • function_name: character name of the function to be executed
  • my_call: the call being executed (equivalent to expression)
  • my_storr_object: a storr object to store the result in
  • init: logical is this an initial call to compute dummy results?
  • called_in_pipeline: logical if the evaluation should be considered as part of a pipeline.

Returns

a dataquieR_result object

See Also

Other reporting_functions: util_alias2caption(), util_copy_all_deps(), util_create_page_file(), util_evaluate_calls(), util_float_index_menu(), util_generate_anchor_link(), util_generate_anchor_tag(), util_generate_calls(), util_generate_calls_for_function(), util_load_manual(), util_make_data_slot_from_table_slot(), util_order_by_order(), util_set_size()

  • Maintainer: Stephan Struckmann
  • License: BSD_2_clause + file LICENSE
  • Last published: 2025-03-05