View source: R/get_about_pages.r
url_exists | R Documentation |
Check if a url exists with httr
url_exists(url, non_2xx_return_value = FALSE, quiet = TRUE, timeout_thres = 10)
url |
A URL to check |
non_2xx_return_value |
what to do if the site exists but the
HTTP status code is not in the |
quiet |
if not |
timeout_thres |
timeout in seconds for httr attempt |
A boolean value to indicate whether a website is reachable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.