check4net: Check for Internet Access

Description Usage Arguments Examples

View source: R/check4net.r

Description

A simple utility for continuously checking whether or not there you can access the internet. The function pings google.com via the pingr package.

Usage

1
  check4net(timeout=10, verbose=TRUE, beep=TRUE)

Arguments

timeout

integer; determines the amount of time between tries.

verbose

logical; indicates whether status information should be printed to the terminal or not.

beep

logical; indicates whether an audible "beep" via the beepr package should be made upon success.

Examples

1
2
3
4
5
6
## Not run: 
library(check4net, quietly=TRUE)

check4net()

## End(Not run)

wrathematics/check4net documentation built on May 4, 2019, 9:48 a.m.