is_link_broken: Determines if a link is valid

Description Usage Arguments Value

View source: R/is_link_broken.R

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 TRUE

Usage

1
is_link_broken(link_to_test, duration = 1)

Arguments

link_to_test

a link

duration

the lowest row number

Value

FALSE if the link works, TRUE if it fails


JumpeR documentation built on Nov. 17, 2021, 1:07 a.m.