Learn R Programming

JumpeR (version 0.3.0)

is_link_broken: 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 TRUE

Usage

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