Learn R Programming

releaser (version 1.2.1)

set_rjdverse_remotes: Set the rjdverse in the Remotes field

Description

Add or remove rjdverse packages from the Remotes field of the DESCRIPTION file.

Usage

set_rjdverse_remotes(path, verbose = TRUE)

Value

Invisibly the current content of the Remotes field.

Arguments

path

Path to the root of the package.

verbose

Logical. Should informative messages be displayed?

Details

All dependencies whose package name starts with "rjd3" (rjdverse packages) are added to the Remotes field as GitHub remotes.

Examples

Run this code
path_rjd3workspace <- file.path(tempdir(), "rjd3workspace")
file.copy(
    from = system.file("rjd3workspace", package = "releaser"),
    to = dirname(path_rjd3workspace),
    recursive = TRUE
)

set_rjdverse_remotes(path = path_rjd3workspace)

Run the code above in your browser using DataLab