Test a URL

test_url(url, ignore_urls = "")

Arguments

url

A single URL that will be checked whether it is real.

ignore_urls

A vector of URLs which to ignore.

Value

a logical TRUE/FALSE for whether the URL is legitimate.

Examples

if (FALSE) { # \dontrun{

# This should print out "failed"
test_url("https://notawebsiteaaaaaaa.com")


# This should print out "success"
test_url("https://github.com")
} # }