| Title: | Run CRAN URL Checks from Older R Versions | 
| Version: | 1.0.1 | 
| Description: | Provide the URL checking tools available in R 4.1+ as a package for earlier versions of R. Also uses concurrent requests so can be much faster than the serial versions. | 
| License: | GPL-3 | 
| URL: | https://github.com/r-lib/urlchecker | 
| BugReports: | https://github.com/r-lib/urlchecker/issues | 
| Depends: | R (≥ 3.3) | 
| Imports: | cli, curl, tools, xml2 | 
| Suggests: | covr | 
| Encoding: | UTF-8 | 
| RoxygenNote: | 7.1.2 | 
| NeedsCompilation: | no | 
| Packaged: | 2021-11-30 00:26:56 UTC; jhester | 
| Author: | R Core team [aut] (The code in urltools.R adapted from the tools
    package),
  Jim Hester | 
| Maintainer: | Gábor Csárdi <csardi.gabor@gmail.com> | 
| Repository: | CRAN | 
| Date/Publication: | 2021-11-30 13:40:02 UTC | 
Check urls in a package
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
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  | 
| pool | A multi handle created by  | 
| 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
## Not run: 
url_check("my_pkg")
## End(Not run)
Update URLs in a package
Description
First uses url_check to check and then updates any URLs which are permanent (301) redirects.
Usage
url_update(path = ".", results = url_check(path))
Arguments
| path | Path to the package | 
| results | results from url_check. | 
Value
The results from url_check(path), invisibly.
Examples
## Not run: 
url_update("my_pkg")
## End(Not run)