Skip to content

Commit

Permalink
Missed qualifying a function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed May 30, 2024
1 parent 9b98299 commit 5cda665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/long_format.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pivot_to_matrix <- function (data, rows_from, cols_from, values_from, fill = 0)
c("tibble", "column_to_rownames"))

values_fill <- list(fill)
names(values_fill) <- rlang::as_name(ensym(values_from))
names(values_fill) <- rlang::as_name(rlang::ensym(values_from))
data_wide <- tidyr::pivot_wider(
data,
id_cols = {{ rows_from }},
Expand Down

0 comments on commit 5cda665

Please sign in to comment.