Automates the process of preparing a package release by bumping the version in the `DESCRIPTION` file and interactively drafting release notes in `NEWS.md`.
Value
Invisibly returns a named list with components: status ("done",
"cancelled", or "error"), package, old_version,
new_version, bump_type, description_updated (logical),
and news_updated (logical).
Details
The function performs the following steps:
Verifies the existence of the `DESCRIPTION` file.
Parses the current version and prompts the user to choose between a Patch, Minor, or Major bump.
Updates the `Version` and `Date` fields in the `DESCRIPTION` file upon confirmation.
Interactively collects changelog items from the user and prepends them to `NEWS.md`.
Warning
This function modifies files on disk or the global environment. Please ensure you have a backup or are using version control (e.g., Git) before execution.
Examples
if (interactive()) {
architect_release()
}
