extract: Obtain only the top part of the NEWS file

View source: R/validate.R

extractR Documentation

Obtain only the top part of the NEWS file

Description

This function is used internally for collating the latest NEWS after validation with the 'validate' function.

Usage

extract(pkg, vpattern = "Changes in version")

Arguments

vpattern

character(1) The 'grep' input for searching the versioning line in the NEWS files. This usually starts with 'Changes in version' but may differ.


waldronlab/newsfeed documentation built on July 30, 2023, 1:22 a.m.