diff --git a/R/utils.R b/R/utils.R index df3c31ac..9e1d3fc7 100644 --- a/R/utils.R +++ b/R/utils.R @@ -223,8 +223,7 @@ odin_file <- function(...) { glue_whisker <- function(template, data) { - glue::glue(template, .envir = data, .open = "{{", .close = "}}", - .trim = FALSE) + glue::glue_data(data, template, .open = "{{", .close = "}}", .trim = FALSE) }