online {ami}R Documentation

Checks related to networking

Description

online() uses curl::has_internet to check whether the machine is connected to the internet

Usage

online()

using_host(hostname)

Arguments

hostname

String containing a hostname or hostnames to check

Value

A logical value

Examples

online()
using_host("somehost.fakedomain.com")

[Package ami version 0.1.0 Index]