Skip to content

Commit

Permalink
Fix warning in vignette
Browse files Browse the repository at this point in the history
Fix warning by `dplyr::across()` about missing `.cols` arg.
  • Loading branch information
salim-b authored Jan 4, 2024
1 parent a64b8f1 commit f1345e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vignettes/from-base.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ data_stringr_base_diff <- tibble::tribble(
# create MD table, arranged alphabetically by stringr fn name
data_stringr_base_diff %>%
dplyr::mutate(dplyr::across(.fns = ~ paste0("`", .x, "`"))) %>%
dplyr::mutate(dplyr::across(
.cols = everything(),
.fns = ~ paste0("`", .x, "`"))
) %>%
dplyr::arrange(stringr) %>%
dplyr::rename(`base R` = base_r) %>%
gt::gt() %>%
Expand Down

0 comments on commit f1345e3

Please sign in to comment.