Displaying 2 results from an estimated 2 matches for "build_news_db".
2011 Feb 19
1
Accessing Package NEWS (NEWS.Rd)
...> checkNEWS("myapp/trunk/MyApp/inst/NEWS.Rd")
[1] TRUE
> news(package="MyApp")
Nothing.
Debugging news() itself left me wondering. The first thing checked
for was 'inst/NEWS.Rd' - once I install the package, that would never
exist though, right? Should tools:::.build_news_db() instead use:
nfile <- file.path(dir, c("NEWS.Rd", file.path("inst", "NEWS.Rd")))
On the slim chance it should, I modified the path to my
source folder's copy and continued debugging into
tools:::.build_news_db_from_package_NEWS_Rd().
debug: ind <-...
2010 Aug 27
2
NEWS and readNEWS
readNEWS() states:
Read R's ?NEWS? file or a similarly formatted one. This is an
experimental feature, new in R 2.4.0 and may change in several
ways
and news() also indicates that this tool is supposed to work with
non-R news files. However, I've not been able to get readNEWS to read
a package news file, even when following the format indicated in
news(). Looking at the