get_urls: Identify and collect URLs in a single md,rmd, or qmd file

View source: R/url_check.R

get_urlsR Documentation

Identify and collect URLs in a single md,rmd, or qmd file

Description

Identify and collect URLs in a single md,rmd, or qmd file

Usage

get_urls(file, ignore_urls = "")

Arguments

file

A file path to a md,rmd, or qmd file that contains URLs to be check

ignore_urls

A vector of URLs which to ignore.

Value

a data.frame of all the URLs identified in the given md,rmd, or qmd file

Examples

## Not run: 

# Add in a URL error
# writeLines("A URL error: https://notawebsiteaaaaaaa.com", "url_test_error.md")

get_urls("url_test_error.md")

## End(Not run)

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