Is object a URL?
is_url(x)Object to be tested.
Logical.
TRUE: all elements in the object are URLs.
FALSE: all elements in the object are not URLs
# The following returns TRUE
url <- "https://github.com/KoderKow/pathr"
is_url(url)
#> [1] TRUE
# The following returns FALSE
url <- "ww.exampl.co/this/will/fail"
try(assert_url(url))