Is each URL (or href) online?
Examples
url <- c(
"https://example.com",
"<a href=https://example.com>example</a>",
"<a href=https://example.com/bad>bad</a>",
"bad"
)
is_online(url)
#> [1] TRUE TRUE FALSE FALSE
Is each URL (or href) online?
url <- c(
"https://example.com",
"<a href=https://example.com>example</a>",
"<a href=https://example.com/bad>bad</a>",
"bad"
)
is_online(url)
#> [1] TRUE TRUE FALSE FALSE