url_check: Check urls in a package

Description Usage Arguments Value Examples

View source: R/url_check.R

Description

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

1
2
3
4
5
6
7
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

1
2
3
4
## Not run: 
url_check("my_pkg")

## End(Not run)

urlchecker documentation built on Dec. 11, 2021, 9:39 a.m.