Run CRAN URL Checks from Older R Versions
Overview
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.
url_check()now ignores the same HTTP status codes that CRAN ignores in its incoming URL checks: 202, 401, 403, and 429. This makes results match what CRAN reports and avoids false positives from servers that return. Set the_R_CHECK_URLS_HTTP_STATUS_IGNORE_REGEXP_environment variable to override it.url_check()now sends the same browser-likeUser-Agentheader that CRAN uses for its URL checks. Set the_R_CHECK_URLS_CURL_USER_AGENT_environment variable to override it (#26).url_check()no longer reports URLs that appear inside code chunks of.Rmdvignettes (#50).url_check()now reads an optional.urlignorefile (from the project root or fromtools/). URLs matching its glob patterns are skipped and never requested, which is useful for links to private repositories or pages behind a login or captcha (#45).
Show all changes in 2.0.0Hide the rest of the changes in 2.0.0
- The
url_check()report no longer errors when a flagged URL is empty (e.g. a Markdown[]()link); the empty URL is now reported without a source-line pointer (#47). url_check()now checks URLs in BibTeX (.bib) bibliography files (#13).url_check()now finds a GitHub token in the git credential store (via gitcreds, as configured by usethis or gh), in addition to theGITHUB_PATenvironment variable. This lets checks ofgithub.comURLs avoid the429: Too Many Requestserrors that anonymous requests hit (#28).url_check()gains afailargument. WhenTRUE(the default) it throws an error after printing the report if any URLs are flagged, yielding a non-zero exit status for CI/CD workflows. Setfail = FALSEto return the results instead (#42).- The
url_check()report now prints thefile:line:collocation of each flagged URL as a clickable hyperlink, so you can jump straight to the problem in supporting IDEs and terminals (#23). url_check()now also works on non-package projects.pathmay be a directory that is not an R package (all supported files within are scanned), a single file, or a character vector mixing packages, directories and files. Supported file types are HTML, PDF, Rd, Markdown (.md,.markdown), R Markdown (.Rmd) and Quarto (.qmd).url_check()now also checks URLs in Quarto (.qmd) vignettes, rendering them withquarto(the un-evaluated document, in the same way.Rmdvignettes are rendered with pandoc).url_check()now errors if aVignetteBuilderpackage listed in theDESCRIPTIONis not installed, as it is needed to render the vignettes for URL checking.url_check()now errors, instead of silently skipping the file, when pandoc (for.md/.Rmdfiles) or quarto (for.qmdfiles) is needed to render a file but cannot be found on thePATH.- Handle URL fragments in redirects (#9).
url_check()now also handles package tarballs. This is useful to check the URL in the package vignettes.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-09
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 3 (1 internal)includes a package overview page
- Examples that run
- 0%2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 83%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 297
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-lib/urlchecker on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-09 · The repository has a site deploy workflow
pkgdown site last built 2026-07-09
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-07Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: CLAUDE.md
Dependencies
Installing urlchecker adds 5 packages (4 with compiled code, 2.3 MB of source tarballs). Heaviest: rlang 766 KB, curl 714 KB, cli 629 KB.
Code & Tests
People & History
Previously maintained by Jim Hester (1.0.0).
Pick two releases to compare their code metrics.
- 2.0.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.12021-11-30 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.02021-03-04
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-04
- Total releases
- 3 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1
- Download size
- 38 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("urlchecker")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.