Does the current session have an internet connection?

hasInternet(url = "http://www.bioconductor.org")

Arguments

url

character(1). Uniform Resource Locator (URL).

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2019-09-06.

See also

Examples

hasInternet()
#> [1] TRUE