Learn R Programming

releaser (version 1.0.0)

set_latest_deps_version: Set latest versions for rjd3* dependencies

Description

Update the DESCRIPTION file of a package so that all dependencies beginning with "rjd3" require the latest released version from GitHub.

Usage

set_latest_deps_version(path, verbose = TRUE)

Value

Invisibly updates the DESCRIPTION file in place.

Arguments

path

[character] Path to the package root directory.

verbose

[logical] Whether to print current and new remote fields (default: TRUE).

Examples

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

set_latest_deps_version(path = path_rjd3workspace)
# }

Run the code above in your browser using DataLab