set_latest_deps_version function

Set latest versions for rjd3* dependencies

Set latest versions for rjd3* dependencies

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

set_latest_deps_version(path, verbose = TRUE)

Arguments

  • path: [character ] Path to the package root directory.
  • verbose: [logical ] Whether to print current and new remote fields (default: TRUE).

Returns

Invisibly updates the DESCRIPTION file in place.

Examples

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)

Other functions in releaser

Related functions from the same R package