Lint NEWS.md and DESCRIPTION for Jira ticket references
Source:R/contribution_linter.R
lintTicketRefs.RdThe ticket ID belongs in the branch name only. It must not appear in the
changelog (NEWS.md) or package metadata (DESCRIPTION).
Value
NULL invisibly if no violations are found. Stops with an
error listing all violations otherwise.
Examples
pkg_dir <- system.file(package = "gDRstyle", "tst_pkgs", "dummy_pkg")
lintTicketRefs(pkg_dir)
#> Ticket reference violations: OK!