File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ parse_file_url <- function(x) {
136136 out $ repo_spec <- make_spec(owner = dat $ repo_owner , repo = dat $ repo_name )
137137 out $ path <- dat_fragment $ path
138138 out $ ref <- dat_fragment $ ref
139- out $ host <- as.character(glue( " https://{dat$host}" ) )
139+ out $ host <- glue_chr( " https://{dat$host}" )
140140
141141 out
142142}
Original file line number Diff line number Diff line change 11# wrappers that apply as.character() to glue functions
22
33glue_chr <- function (... ) {
4- as.character(glue :: glue (... , .envir = parent.frame(1 )))
4+ as.character(glue(... , .envir = parent.frame(1 )))
55}
66
77glue_data_chr <- function (.x , ... ) {
8- as.character(glue :: glue_data(.x = .x , ... , .envir = parent.frame(1 )))
8+ as.character(glue_data(.x = .x , ... , .envir = parent.frame(1 )))
99}
You can’t perform that action at this time.
0 commit comments