Does the input contain an existing (active) URL?
Source:R/check-vector-isExistingUrl.R
check-vector-isExistingUrl.RdDoes the input contain an existing (active) URL?
Functions
isExistingUrl(): Vectorized.isAnExistingUrl(): Scalar. Requires a single URL.allAreExistingUrls(): Scalar. Checks that all strings are existing URLs.
See also
curlGetHeaders(): Amazing function with good timeout control.open.connection(): Base method with no dependencies, but prone to hang with poor timeout control.RCurl::url.exists(): Seems to be good but adds external dependency.urlchecker and curl packages.
https://github.com/r-lib/urlchecker/blob/main/inst/tools/urltools.R
https://stackoverflow.com/questions/52911812
https://stackoverflow.com/a/17620732/3911732