Learn R Programming

GRANBase (version 2.6.20)

readPkgsNEWS: Read and summarize the NEWS files for packages at risk (updatable)

Description

readPkgsNEWS

Usage

readPkgsNEWS(df, oldlib = .libPaths(), tmplib = file.path(tempdir(),
  "libloc"), repos = unique(df$Repository), newlib = NULL)

Arguments

df

A data.frame or matrix of out-of-date packages currently installed, with columns Package, Installed (installed version), and Repository (contriburl of repo with newer version). Other columns are i gnored.

oldlib

The currently library to compare against latest avaialble versions

tmplib

A temporary library directory to install new versions of the packages into so that their NEWS files can be accessed.

repos

A character vector of the repositories to search for newer versions of packages installed in oldlib

newlib

An already populated 'new' library to compare against oldlib instead of retrieving new package versions from repos

Value

A data.frame with 3 counts for each updatable package: bugfixes, u_visible_changes (user visible changes) and deprec (deprecation and defunct entries). All counts are NA if the package does not have parsable NEWS.

Details

Attempts to generate a per-package summary of risky-to-ignore changes for updatable packages.