Skip to content

Commit

Permalink
Ensure .envir input as an environment
Browse files Browse the repository at this point in the history
  • Loading branch information
psychelzh committed Oct 19, 2024
1 parent 9849e0f commit 5193e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ tar_fetch_users <- function(contents, subset_users_props = NULL,
bquote(
fetch_iquizoo(
.(glue::glue(read_file(templates[["users"]]),
.envir = list(columns = columns)
.envir = env(columns = columns)
)),
params = list(.(unique(contents$project_id)))
) |>
Expand Down

0 comments on commit 5193e81

Please sign in to comment.