has_internet: Check internet connectivity

View source: R/utils.R

has_internetR Documentation

Check internet connectivity

Description

Tests whether a network connection to a STAC endpoint is available. Used in ⁠@examplesIf⁠ guards for network-dependent examples.

Usage

has_internet()

Value

TRUE if an internet connection is available, FALSE otherwise.

Examples

has_internet()

stacr documentation built on March 12, 2026, 5:07 p.m.