check_news.Rd
Checks that NEWS.md exists and title lines follow the correct format.
If the pattern
is NULL
, then the expected format is either:
# pkg_name Version _YYYY-MM-DD_
or # pkg_name (development version)
check_news(pattern = NULL, path = ".") check_all_news(pattern = NULL)
pattern | Regular expression NEWS title. |
---|---|
path | Location of the package |
The check_all_news()
function isn't used in the CI. It's a
convient command line function to quickly assess your NEWS.md file