Skip to content

Commit b95f40c

Browse files
Richard HannaRichard Hanna
authored andcommitted
Update var_labels map syntax
1 parent 6cdf072 commit b95f40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/write.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ add_labelled_xlsx_features <- function(supertbl,
284284
}
285285

286286
# Define redcap_data variable labels
287-
var_labels <- supertbl$redcap_data %>% map(\(x) generate_dictionaries(x))
287+
var_labels <- map(.x = supertbl$redcap_data, ~generate_dictionaries(.x))
288288

289289
for (i in seq_along(supertbl$redcap_form_name)) {
290290
wb$add_data(

0 commit comments

Comments
 (0)