[Rd] suggestion for R >= 3.0: computer-readable CHANGELOG

Christian Ritz ritz at life.ku.dk
Fri Apr 17 14:47:21 CEST 2009

Hi Duncan,

on a related note: It would be nice to have a function similar to tools::readNEWS() for
showing package-specific CHANGES/NEWS files (if available).

Something like:

"showNews" <- function(pkgname, filename = c("NEWS", "CHANGES"))
    filename <- match.arg(filename)

    file.show(paste(.libPaths(), pkgname, filename, sep = "/"),
    title = paste("Package information for", pkgname))


showNews("multcomp", "CHANGES")
# requires 'multcomp' to be installed

Just an idea!


More information about the R-devel mailing list