Skip to content

r-lib/urlchecker

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

urlchecker

https://www.tidyverse.org/lifecycle/#maturing

https://marketplace.visualstudio.com/items?itemName=REditorSupport.r-lsp

R-CMD-check Codecov test coverage

The goal of urlchecker is to run the URL checks from R 4.1 in older versions of R and automatically update URLs as needed.

It also uses concurrent requests, so is generally much faster than the URL checks from the tools package.

Installation

Install the released version from CRAN

install.packages("urlchecker")

Or the development version from GitHub:

# install.packages("pak")
pak::pak("r-lib/urlchecker")

Usage

library(urlchecker)

# `url_check()` will check all URLs in a package, as is done by CRAN when
# submitting a package.
url_check("path/to/pkg")

# `url_update()` will check all URLs in a package, then update any 301
# redirects automatically to their new location.
url_update("path/to/pkg")

Code of Conduct

Please note that the urlchecker project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.