Re: [R] Rd files with duplicated alias 'plot'

2019-05-10 Thread Jeff Newmiller via R-help
a) Wrong list. Read the Posting Guide. b) Don't use @aliases for this purpose. c) Just use @export... plot already has a dispatch function. d) Best for you to be clear (don't assume everyone will know what you are talking about) that this question is about a contributed package called roxygen2

[R] Rd files with duplicated alias 'plot'

2019-05-10 Thread Sigbert Klinke
Hi, in package I have for two S3 classes plot routines: plot.ABC and plot.DEF. For appearing both under ?plot I added in each file a "@aliases plot". This leads to the above warning message when calling devtools::check(). And only one of the routines appears under ?plot. Any hint how to so

Re: [R] .Rd files

2015-02-25 Thread Erin Hodgess
Solved: it's the prompt function. On Wed, Feb 25, 2015 at 4:40 PM, Erin Hodgess wrote: > Hello there! > > When you use package.skeleton, you can put in all of your nice functions, > and the "bones" of the .Rd files are generated, which is fine. > > Now if you add another R function after the fa

[R] .Rd files

2015-02-25 Thread Erin Hodgess
Hello there! When you use package.skeleton, you can put in all of your nice functions, and the "bones" of the .Rd files are generated, which is fine. Now if you add another R function after the fact into the package, is there a quick-and-dirty function to generate an .Rd file, please? My inclina

Re: [R] Rd files must have a non-empty \title

2010-05-11 Thread Rolf Turner
On 12/05/2010, at 5:25 AM, Greg Snow wrote: > I nominate Duncan's last statement: > >> If you don't want informative help files, it's really not much work to >> make uninformative ones. >> >> Duncan Murdoch > > For the fortunes package. I second the motion! cheers, R

Re: [R] Rd files must have a non-empty \title

2010-05-11 Thread Greg Snow
lthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Duncan Murdoch > Sent: Monday, May 10, 2010 6:52 AM > To: Assa Yeroslaviz > Cc: r-h...@stat.math.ethz.ch > Subject: Re: [R] Rd

Re: [R] Rd files must have a non-empty \title

2010-05-10 Thread Duncan Murdoch
On 10/05/2010 7:43 AM, Assa Yeroslaviz wrote: Hello everybody, I'm trying to install a package I have built. This package contains three scripts with various functions (S3 as well as S4 classes) I run at first the package.skeleton command with: > package.skeleton("affyAnalysis", namespace=TRUE

[R] Rd files must have a non-empty \title

2010-05-10 Thread Assa Yeroslaviz
Hello everybody, I'm trying to install a package I have built. This package contains three scripts with various functions (S3 as well as S4 classes) I run at first the package.skeleton command with: > package.skeleton("affyAnalysis", namespace=TRUE, code_files =c("defS3.R", "defS4.R", "qc.R"))

Re: [R] Rd files, \itemize in \value

2009-10-02 Thread Duncan Murdoch
On 10/2/2009 9:05 AM, Gábor Csárdi wrote: Dear All, how can I create a list in the \value{} section of an Rd file? The things I have tried: 1. \value{ text text \item more text \item even more } *** Syntax error: \item in /- \item more text \item even more\- 2. \value{ text text

[R] Rd files, \itemize in \value

2009-10-02 Thread Gábor Csárdi
Dear All, how can I create a list in the \value{} section of an Rd file? The things I have tried: 1. \value{ text text \item more text \item even more } *** Syntax error: \item in /- \item more text \item even more\- 2. \value{ text text \item{more text} \item{even more} } This g

Re: [R] Rd files with unknown encoding?

2007-12-17 Thread Prof Brian Ripley
Here's a slightly cleaner version: showNonASCII <- function(x) { ind <- is.na(iconv(x, "latin1", "ASCII")) xxx <- iconv(x[ind], "latin1", "ASCII", sub="byte") if(any(ind)) cat(which(ind), ": ", xxx, "\n", sep="") } used as > showNonASCII(readLines("foo.Rd")) On Sat, 15 Dec 2007,

Re: [R] Rd files with unknown encoding?

2007-12-15 Thread Spencer Graves
Dear Prof. Ripley: Thanks very much. I did as you suggested, which I'll outline here to make it easier for anyone else who might have a similar problem: * Read the offending *.Rd file in R using 'readLines' * Applied 'iconv' to the character vector, following the

Re: [R] Rd files with unknown encoding?

2007-12-13 Thread Prof Brian Ripley
On Wed, 12 Dec 2007, Spencer Graves wrote: > > How can I identify the problem generating a warning in R CMD check > for "Rd files with unknown encoding"? > > Google identified an email from John Fox with a reply from Brian > Ripley about this last 12 Jun 2007. But not on this list: htt

[R] Rd files with unknown encoding?

2007-12-12 Thread Spencer Graves
How can I identify the problem generating a warning in R CMD check for "Rd files with unknown encoding"? Google identified an email from John Fox with a reply from Brian Ripley about this last 12 Jun 2007. This suggests that I may have accidentally entered some possibly non-print