haveInternet: Internet Connection Check

View source: R/other_functions.R

haveInternetR Documentation

Internet Connection Check

Description

This function checks if your R session currently have Wifi or Internet connection.

Usage

haveInternet(thresh = 3, url = "http://www.google.com")

Arguments

thresh

Numeric. How many seconds to consider a slow connection?

url

Character. URL to test the readLines 1 command

Value

Boolean. Result of checking if device has internet connection.

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), font_exists(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), warnifnot(), what_size()


lares documentation built on Nov. 5, 2023, 1:09 a.m.