Skip to contents

Determine if a URL is valid and reachable

Usage

is_valid_url(url)

Arguments

url

character string of the URL to check.

Value

Logical. TRUE if the URL is valid and reachable, FALSE otherwise.

Examples

is_valid_url("https://hubverse.io")
#> [1] TRUE
is_valid_url("https://hubverse.io/invalid")
#> [1] FALSE