R/networking.R
networking.Rd
online() uses curl::has_internet to check whether the machine is connected to the internet
online()
online() using_host(hostname)
String containing a hostname or hostnames to check
A logical value
online() #> [1] TRUE using_host("somehost.fakedomain.com") #> [1] FALSE