[Rd] suggestion for R >= 3.0: computer-readable CHANGELOG
Duncan Murdoch
murdoch at stats.uwo.ca
Fri Apr 17 15:05:09 CEST 2009
On 4/17/2009 8:47 AM, Christian Ritz wrote:
> 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).
That would be a waste of time. People don't use the package
documentation schemes that are in place; why would they use a new one?
Duncan Murdoch
>
>
> 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("MASS")
>
> showNews("multcomp", "CHANGES")
> # requires 'multcomp' to be installed
>
>
> Just an idea!
>
> Christian
More information about the R-devel
mailing list