doitools {tools}R Documentation

Check Package DOIs

Description

Check DOIs in package sources.

Usage

check_package_dois(dir, verbose = FALSE)

Arguments

dir

a character string specifying the path to a package's root source directory.

verbose

a logical indicating if output should monitor check progress.

Details

Checking DOIs is performed in parallel using curl (so this must be installed for checking).

The DOIs checked are extracted from the package ‘DESCRIPTION’ (‘⁠<doi:...>⁠URIs in the ‘⁠Description⁠’ field), Rd and ‘CITATION’ files.

The DOIs are checked via ‘⁠HEAD⁠’ requests to the DOI system Proxy Server REST API.

Value

A data frame inheriting from class check_doi_db with information on the DOI check problems found.

Note

This functionality is still experimental: interfaces may change in future versions.


[Package tools version 4.5.0 Index]