Displaying 2 results from an estimated 2 matches for "newsfile".
Did you mean:
newfile
2004 Jun 24
4
news file included in source but not binary package
Dear R-devel,
I've noticed that when I place a `NEWS' file in the top-level directory for
a package, then do R CMD build mypkg, the file gets included in the .tar.gz
file. However, if I do R CMD build --binary mypkg, the `NEWS' file does not
get included in the .zip file. Is this intentional? Is there a way I can
get such a file included in the pre-compiled package automatically?
2011 Feb 19
1
Accessing Package NEWS (NEWS.Rd)
...b(re_v, "\\1", nms), NA_character_),
ifelse(grepl(re_d, nms), sub(re_d, "\\1", nms), NA_character_),
db[, 2L], sub("\n*$", "", db[, 3L])), logical(nrow(db)),
"news_db_from_Rd")
exiting from: tools:::.build_news_db_from_package_NEWS_Rd(newsfile)
Error: invalid version specification CHANGES IN VERSION 1.0.0CHANGES IN VERSION 1.0.1CHANGES IN VERSION 2.0.0
Well, so it didn't like my version numbers. But is the regexp check correct?
Browse[2]> .standard_regexps()$valid_package_version
[1] "([[:digit:]]+[.-]){1,}[[:digit:]]+&quo...