Get details of the most recently updated branch
Source:R/get_branches.R
get_latest_branch_update.RdInspects all branches of a core PIP package (excluding `gh-pages`) and returns the one with the most recent commit. Useful for identifying which branch has the latest development activity.
If `package` has only `gh-pages` branches, a warning is issued and a single-row data.frame of `NA` values is returned.
Value
A single-row `data.frame` (returned invisibly) with columns:
- package
Character. Package name.
- branch_name
Character. Name of the most recently updated branch, or `NA` when only `gh-pages` exists.
- last_commit_author_name
Character. Author of the latest commit.
- last_update_time
POSIXct (UTC). Timestamp of the latest commit, or `NA` when only `gh-pages` exists.