@@ -832,7 +832,7 @@ pr_list <- function(
832
832
prs <- list (list ())
833
833
}
834
834
out <- map(prs , pr_data_tidy )
835
- out <- map(out , ~ as.data.frame(. x , stringsAsFactors = FALSE ))
835
+ out <- map(out , \( x ) as.data.frame(x , stringsAsFactors = FALSE ))
836
836
out <- do.call(rbind , out )
837
837
if (no_prs ) {
838
838
out [0 , ]
@@ -860,7 +860,7 @@ branches_with_no_upstream_or_github_upstream <- function(tr = NULL) {
860
860
gb_dat $ ref <- remref_branch(gb_dat $ remref )
861
861
gb_dat $ cfg_pr_url <- map_chr(
862
862
glue(" branch.{gb_dat$name}.pr-url" ),
863
- ~ git_cfg_get(. x , where = " local" ) %|| % NA_character_
863
+ \( x ) git_cfg_get(x , where = " local" ) %|| % NA_character_
864
864
)
865
865
866
866
ghr <- github_remote_list(these = NULL )[[" remote" ]]
@@ -882,7 +882,7 @@ branches_with_no_upstream_or_github_upstream <- function(tr = NULL) {
882
882
purrr :: walk2(
883
883
glue(" branch.{dat$name[missing_cfg]}.pr-url" ),
884
884
dat $ pr_html_url [missing_cfg ],
885
- ~ gert :: git_config_set(. x , . y , repo = repo )
885
+ \( x , y ) gert :: git_config_set(x , y , repo = repo )
886
886
)
887
887
888
888
dat
0 commit comments