Arguments
- url_in
String of URL to test
- t
Time out
Examples
urls <- c(
"http://www.amazon.com", "http://this.isafakelink.biz",
"https://stackoverflow.com", "http://localhost:80")
sapply(urls, valid_url)
#> http://www.amazon.com http://this.isafakelink.biz
#> TRUE FALSE
#> https://stackoverflow.com http://localhost:80
#> TRUE FALSE