Displaying 2 results from an estimated 2 matches for "news_db".
2009 Nov 22
1
error message when running news()
When running news() in I get this error message from print.news_db:
> news()
Error: invalid version specification 2.0.12.0.1 patched2.1.02.1.12.1.1
patched2.10.02.10.0 patched2.2.02.2.12.2.1 patched2.3.02.3.12.3.1
patched2.4.02.4.12.4.1 patched2.5.02.5.12.5.1
patched2.6.02.6.12.6.22.6.2 patched2.7.02.7.12.7.22.7.2
patched2.8.02.8.12.8.1 patched2.9.02.9.12.9.22...
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 <-...