util_deparse1: Expression De-Parsing

util_deparse1R Documentation

Expression De-Parsing

Description

Turn unevaluated expressions into character strings.

Arguments

expr

any R expression.

collapse

a string, passed to paste()

width.cutoff

integer in [20, 500] determining the cutoff (in bytes) at which line-breaking is tried.

...

further arguments passed to deparse().

Details

This is a simple utility function for R < 4.0.0 to ensure a string result (character vector of length one), typically used in name construction, as util_deparse1(substitute(.)).

This avoids a dependency on backports and on R >= 4.0.0.

Value

the deparsed expression

See Also

Other condition_functions: util_condition_constructor_factory(), util_error(), util_find_external_functions_in_stacktrace(), util_find_first_externally_called_functions_in_stacktrace(), util_find_indicator_function_in_callers(), util_message(), util_warning()


dataquieR documentation built on May 29, 2024, 7:18 a.m.