is_link_broken: Determines if a link is valid

View source: R/is_link_broken.R

is_link_brokenR Documentation

Determines if a link is valid

Description

Used in testing links to external data, specifically inside of internal package tests. Attempts to connect to link for the length of duration (in s). If it fails it returns FALSE

Usage

is_link_broken(link_to_test, duration = 1)

Arguments

link_to_test

a link

duration

the lowest row number

Value

TRUE if the link works, FALSE if it fails


SwimmeR documentation built on March 31, 2023, 8:27 p.m.