[Rd] Why should package.skeleton() fail R CMD check?

Jari Oksanen jarioksa at sun3.oulu.fi
Wed Aug 31 11:42:14 CEST 2005


On Wed, 2005-08-31 at 11:23 +0200, Martin Maechler wrote:

> Since you didn't use  text/plain  as content type, your
> attachment didn't make it to the list anyway, 

Yeah, I noticed. 

> and you have a
> second chance:
> 
> Please use a "diff -u" against
> 
>    https://svn.R-project.org/R/trunk/src/library/utils/R/prompt.R
> 
> or maybe even a "diff -ubBw ..." one.
> 

Here comes a uniform diff against svn source of prompt.R. I hope I made
all the same changes as previously. At least package.skeletons with this
pass R CMD check with the same two warnings as previously (after you
beat the namespace -- oh how I hate namespaces):

--- prompt.R    2005-08-31 12:30:28.000000000 +0300
+++ prompt.R.new        2005-08-31 12:32:13.000000000 +0300
@@ -96,5 +96,5 @@
              details = c("\\details{",
              paste("  ~~ If necessary, more details than the",
-                   "__description__  above ~~"),
+                   "description above ~~"),
              "}"),
              value = c("\\value{",
@@ -108,11 +108,11 @@
              "literature/web site here ~ }"),
              author = "\\author{ ~~who you are~~ }",
-             note = c("\\note{ ~~further notes~~ }",
+             note = c("\\note{ ~~further notes~~ ",
              "",
              paste(" ~Make other sections like Warning with",
                    "\\section{Warning }{....} ~"),
-             ""),
+             "}"),
              seealso = paste("\\seealso{ ~~objects to See Also as",
-             "\\code{\\link{~~fun~~}}, ~~~ }"),
+             "\\code{\\link{help}}, ~~~ }"),
              examples = c("\\examples{",
              "##---- Should be DIRECTLY executable !! ----",

Cheers,

Jari Oksanen
-- 
Jari Oksanen -- Dept Biology, Univ Oulu, 90014 Oulu, Finland
Ph. +358 8 5531526, cell +358 40 5136529, fax +358 8 5531061
email jari.oksanen at oulu.fi, homepage http://cc.oulu.fi/~jarioksa/



More information about the R-devel mailing list