rtrek (version 0.2.0)

has_internet: Check for internet connection

Description

A basic check for internet connectivity.

Usage

has_internet(url = "https://www.google.com")

Arguments

url

character.

Value

logical

Examples

Run this code
# NOT RUN {
has_internet()
# }

Run the code above in your browser using DataCamp Workspace