From murdoch at stats.uwo.ca  Fri Apr 17 15:05:09 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Fri, 17 Apr 2009 09:05:09 -0400
Subject: [Rd] suggestion for R >= 3.0: computer-readable CHANGELOG
In-Reply-To: <49E87A59.2010003@life.ku.dk>
References: <49E82D9C.9090402@sciviews.org> <49E85C0D.6040809@stats.uwo.ca>
	<49E87A59.2010003@life.ku.dk>
Message-ID: <49E87E85.4050700@stats.uwo.ca>

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



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