inst/CITATION for old-style calls flagged by CRANR/audit_citation.R
audit_citation.RdSurfaces every call to personList(), as.personList() or
citEntry() in the package's inst/CITATION file, with the line
number and a one-line suggestion of the modern equivalent. CRAN
rejects new submissions whose CITATION file still uses these
(Package CITATION file contains call(s) to old-style ...).
audit_citation(pkg = ".")A tibble with columns call, line, suggestion. Empty
when the file is modern, or when there is no inst/CITATION.
Detection is purely static (parse + token walk via
utils::getParseData()), so it does not source the file and never
executes user code.
if (FALSE) { # \dontrun{
audit_citation(".")
} # }