desc_set_urls: Set the URL field in DESCRIPTION

desc_set_urlsR Documentation

Set the URL field in DESCRIPTION

Description

The specified urls replace the current ones. The URL field is created if it does not exist currently.

Usage

desc_set_urls(urls, file = ".", normalize = FALSE)

Arguments

urls

A character vector of urls to set.

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.