delayed_to_str.RdThis 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)
| delayed_expr | delayed expression such as that generated with nr_of_rows() |
|---|
well formatted string representation of the delayed expression
delayed_to_str(nr_of_rows())#> [1] "nr_of_rows()"