@jimhester jimhester released this Oct 30, 2017 · 64 commits to master since this release

Assets 2

glue 1.2.0

  • 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
    vignettes("transformers") for more details and example transformer
    functions.

  • glue() now returns NA if any of the results are NA and .na is NULL.
    Otherwise NA values are replaced by the value of .na.

  • trim() to use the trimming logic from glue is now exported.

  • glue_sql() and glue_data_sql() functions added to make constructing SQL
    statements with glue safer and easier.

  • glue() is now easier to use when used within helper functions such as
    lapply.

  • Fix when last expression in glue() is NULL.