check_news: Check NEWS format

View source: R/check_news.R

check_newsR Documentation

Check NEWS format

Description

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)

Usage

check_news(pattern = NULL, path = ".")

check_all_news(pattern = NULL)

Arguments

pattern

Regular expression NEWS title.

path

Location of the package

Details

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


jumpingrivers/inteRgrate documentation built on May 20, 2022, 11:08 p.m.