desc (version 1.2.0)

desc_del_urls: Delete URLs from the URL field in DESCRIPTION

Description

All URLs matching the specified pattern are deleted.

Usage

desc_del_urls(pattern, file = ".", normalize = FALSE)

Arguments

pattern

Perl-compatible regular expression, all URLs matching this expression will be deleted.

file

DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.

normalize

Whether to normalize the write when writing back the result. See desc_normalize.