evaluate() function has been removed. Changes elsewhere in glue made the implementation trivial so it was removed for clarities sake. Previous uses can be replaced by
eval(parse(text = text), envir).
compare.glue()was added, to make it easier to use glue objects in
Do not drop the
glue class when subsetting (#66).
The implementation has been tweaked to be slightly faster in most cases.
glue() now has a
.transformer argument, which allows you to use custom logic on how to evaluate the code within glue blocks. See
vignette("transformers") for more details and example transformer functions.
glue() now returns
NA if any of the results are
NA values are replaced by the value of
trim() to use the trimming logic from glue is now exported.
glue() is now easier to use when used within helper functions such as
Fix when last expression in
glue() is NULL.
Fix for PROTECT errors when resizing output strings.
glue() always returns ‘UTF-8’ strings, converting inputs if in other encodings if needed.
to_data() have been removed.