test_url: Test a URL

View source: R/url_check.R

test_urlR Documentation

Test a URL

Description

Test a URL

Usage

test_url(url, ignore_urls = "")

Arguments

url

A single URL that will be checked whether it is real.

ignore_urls

A vector of URLs which to ignore.

Value

a logical TRUE/FALSE for whether the URL is legitimate.

Examples

## Not run: 

# This should print out "failed"
test_url("https://notawebsiteaaaaaaa.com")


# This should print out "success"
test_url("https://github.com")

## End(Not run)


ottrpal documentation built on April 3, 2025, 7:46 p.m.