From jarioksa at sun3.oulu.fi  Wed Aug 31 11:42:14 2005
From: jarioksa at sun3.oulu.fi (Jari Oksanen)
Date: Wed, 31 Aug 2005 12:42:14 +0300
Subject: [Rd] Why should package.skeleton() fail R CMD check?
In-Reply-To: <17173.30491.377031.303055@stat.math.ethz.ch>
References: <1125478690.23565.34.camel@biol102145.oulu.fi>
	<17173.30491.377031.303055@stat.math.ethz.ch>
Message-ID: <1125481334.23565.51.camel@biol102145.oulu.fi>

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/



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