Extract changelog entries for a given version
Extracts the section of NEWS.md corresponding to a given version.
get_changes(path, version_number, verbose = TRUE)
path: [character ] Path to the package root directory.version_number: [character ] Current version number string (e.g. "1.2.3").verbose: [logical ] Whether to print current and new remote fields (default: TRUE).A character string containing the formatted changelog for the given version.
path_rjd3workspace <- system.file("rjd3workspace", package = "releaser") get_changes(path = path_rjd3workspace, version_number = "Unreleased") get_changes(path = path_rjd3workspace, version_number = "3.2.4") get_changes(path = path_rjd3workspace, version_number = "3.5.1")
Related functions from the same R package
Useful links