Skip to content

Commit cdf1c95

Browse files
authored
update url variable name
1 parent 0530338 commit cdf1c95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

R/get_pvol_ro.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ get_pvol_ro <- function(radar, time, ..., call = rlang::caller_env()) {
66
tryCatch(
77
read_pvol_from_url_per_param(urls, param = "all", call = call),
88
error = function(cnd) {
9-
urls <- glue::glue(
9+
urls_updated <- glue::glue(
1010
"https://opendata.meteoromania.ro/radar/{toupper(substr(radar,3,5))}/{toupper(substr(radar,3,5))}_{strftime(time,'%Y%m%d%H%M', tz='UTC')}0300{params}.hdf"
1111
)
1212
if (
1313
rlang::has_name(cnd, "parent") && inherits(cnd$parent, "httr2_http_404")
1414
) {
15-
read_pvol_from_url_per_param(urls, param = "all", call = call)
15+
read_pvol_from_url_per_param(urls_updated, param = "all", call = call)
1616
} else {
1717
return(cnd)
1818
}

0 commit comments

Comments
 (0)