Re: [Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Peter Dalgaard
Sklyar, Oleg (London) wrote: > Because there is a % sign, which is stripped out by LaTeX used to build > the help system as a comment. Just look at how your example code is > output -- the string is unterminated because the matching quote is > masked by % latex comment Minor quibble: Actually, LaT

Re: [Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Sklyar, Oleg (London)
+44 (0)20 7144 3107 oskl...@maninvestments.com > -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Paul Roebuck > Sent: 15 January 2009 17:50 > To: R Development Mailing List > Subject: [Rd] [Q] R CMD check sig

[Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Paul Roebuck
Add the following to example section of a dot-Rd manpage: ## :WHY: The following kills R CMD check but runs fine on console. foos <- c("aaa", "bbb", "ccc") cat(sapply(foos, function(foo) { sprintf("name: %-18s upper: %s\n", foo,