This is a convenience method to use when the delayed expression needs to be converted to a string, for example in the print function of a vector template that allows for methods like nr_of_rows().

delayed_to_str(delayed_expr)

Arguments

delayed_expr

delayed expression such as that generated with nr_of_rows()

Value

well formatted string representation of the delayed expression

Examples

delayed_to_str(nr_of_rows())
#> [1] "nr_of_rows()"