get_urls {ottrpal} | R 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)
[Package ottrpal version 2.0.0 Index]