test_url {ottrpal} | R Documentation |
Test a URL
Description
Test a URL
Usage
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
## Not run:
# This should print out "failed"
test_url("https://notawebsiteaaaaaaa.com")
# This should print out "success"
test_url("https://github.com")
## End(Not run)
[Package ottrpal version 2.0.0 Index]