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
From the help page of both functions it seems .envir parameter ought to be treated in the same way. But glue::glue_data() seems to be picky and won't slurp lists.
glue::glue("{country} is the best!", .envir=list(country="Portugal"))
#> Portugal is the best!glue::glue_data("{country} is the best!", .envir=list(country="Portugal"))
#> Error in new.env(hash = hash, parent = parent, size = size): 'enclos' must be an environment