You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the behavior below expected?
I ran into a unique situation recently where the template itself has an empty splice region ({}), leading to an empty vector as a result:
str(glue::glue("{}{1+1}"))
#> 'glue' chr(0)
In the above example, I think(?) most would expect something like this as output:
str(glue::glue("{1+1}"))
#> 'glue' chr "2"
... but perhaps this is intentional?
The text was updated successfully, but these errors were encountered:
Is the behavior below expected?
I ran into a unique situation recently where the template itself has an empty splice region (
{}
), leading to an empty vector as a result:In the above example, I think(?) most would expect something like this as output:
... but perhaps this is intentional?
The text was updated successfully, but these errors were encountered: