desc_del_urls: Delete URLs from the URL field in DESCRIPTION

desc_del_urlsR Documentation

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" (reorder and reformat) the fields when writing back the result. See desc_normalize().


r-lib/desc documentation built on Aug. 29, 2024, 5:23 p.m.