The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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 ORCID iD [aut], Gábor Csárdi [aut, cre], RStudio [cph, fnd]
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 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

## 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)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.