Skip to contents

Extracts NEWS files from source tarballs of packages.

Usage

extractNEWS(
  reposRoot,
  srcContrib,
  destDir = file.path(reposRoot, "news"),
  unpackDir = tempdir()
)

Arguments

reposRoot

Top level path for CRAN-style repos

srcContrib

Location of source packages

destDir

character(1) The top-level directory location for extracted NEWS file. destDir will be followed by the package subfolder and NEWS file, i.e., /<packageName>/NEWS

unpackDir

character(1) The directory to extract files to from the tarball (default is the tempdir() location)