.envir = NULL is now supported and is equivalent to passing
.envir = emptyenv() (#140)
glue_data_safe() functions, safer versions of
glue() that do not execute code, only look up values (using
get()). These alternatives are useful for things like shiny applications where you do not have control of the input for your glue expressions. (#140)
Fixed memory access issue and memory leaks found by valgrind.
Fix a LTO type mismatch warning (#146)
glue_data() now implicitly coerces
.x to a list.
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).
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.