powered by
check if a URL can be reached, return TRUE if yes and FALSE if cannot or with other status code
checkUrl(url, timeout = 5)
`TRUE` if url is reachable, `FALSE` if not
string, the URL to request
seconds to wait before return FALSE
checkUrl("https://google.com") try(checkUrl("https://randomwebsite123.com", 1))
Run the code above in your browser using DataLab