Skip to content

Runs the url_db_from_package_source function in the tools package along with a function to check URLs in un-rendered Rmarkdown vignettes.

Usage

url_check(
  path = ".",
  db = NULL,
  parallel = TRUE,
  pool = curl::new_pool(),
  progress = TRUE
)

Arguments

path

Path to the package

db

A url database

parallel

If TRUE, check the URLs in parallel

pool

A multi handle created by curl::new_pool(). If NULL use a global pool.

progress

Whether to show the progress bar for parallel checks

Value

A url_checker_db object (invisibly). This is a check_url_db object with an added class with a custom print method.

Examples

if (FALSE) {
url_check("my_pkg")
}