Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-07 Thread Cook, Malcolm
What other packages do you have loaded? Perhaps a BioConductor one that loads S4Vectors that announces upon load: Creating a generic function for 'nchar' from package 'base' in package 'S4Vectors' Maybe a red herring... ~Malcolm > -Original Message- > From: R-devel

Re: [Rd] read.table reads "i" as NA_complex_

2015-10-07 Thread William Dunlap
Thank you both! Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Oct 7, 2015 at 1:44 PM, peter dalgaard wrote: > This is fixed/changed in r-devel: > > > str(type.convert("i")) > Factor w/ 1 level "i": 1 > > It was reported on July 18 as PR#16473, if you care. > > (Funny

Re: [Rd] MARC creator role (was: authorship and citation)

2015-10-07 Thread Achim Zeileis
On Wed, 7 Oct 2015, Tim Keitt wrote: On Wed, Oct 7, 2015 at 2:39 PM, Duncan Murdoch wrote: I think it was easier to (ab)use that role than to get a "Maintainer" role added to the standard ones. Also note that the "creator" in the MARC vocabulary is with respect to

Re: [Rd] read.table reads "i" as NA_complex_

2015-10-07 Thread Prof Brian Ripley
On 07/10/2015 21:22, William Dunlap wrote: I just noticed that read.table() and type.convert() interpret the string "i" as a missing value of type complex. > str(read.table(text=c("i\ni\ni\ni\n"))) 'data.frame': 4 obs. of 1 variable: $ V1: cplx NA NA NA ... >

[Rd] read.table reads "i" as NA_complex_

2015-10-07 Thread William Dunlap
I just noticed that read.table() and type.convert() interpret the string "i" as a missing value of type complex. > str(read.table(text=c("i\ni\ni\ni\n"))) 'data.frame': 4 obs. of 1 variable: $ V1: cplx NA NA NA ... > str(type.convert("i")) cplx NA If there are other strings

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-07 Thread Joris Meys
Malcolm, I tested the code on a clean R 3.2.0 session. Not even in RStudio, just to rule that out. > sessionInfo() R version 3.2.0 (2015-04-16) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8 x64 (build 9200) locale: [1] LC_COLLATE=English_United Kingdom.1252 [2]

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-07 Thread Cook, Malcolm
OK – definitely a red herring – thanks for following up… From: Joris Meys [mailto:jorism...@gmail.com] Sent: Wednesday, October 07, 2015 4:09 PM To: Cook, Malcolm Cc: Duncan Murdoch ; Matt Dowle ; r-de...@stat.math.ethz.ch

Re: [Rd] authorship and citation

2015-10-07 Thread Tim Keitt
On Wed, Oct 7, 2015 at 2:39 PM, Duncan Murdoch wrote: > I think it was easier to (ab)use that role than to get a "Maintainer" > role added to the standard ones. > Why bother with the relators list at all? THK http://www.keittlab.org/ [[alternative HTML

Re: [Rd] read.table reads "i" as NA_complex_

2015-10-07 Thread peter dalgaard
This is fixed/changed in r-devel: > str(type.convert("i")) Factor w/ 1 level "i": 1 It was reported on July 18 as PR#16473, if you care. (Funny how an obscure issue goes unnoticed for a decade, then pops up twice independently within a few months. A property of the Poisson process, I

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-07 Thread Morgan, Martin
> -Original Message- > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Cook, > Malcolm > Sent: Wednesday, October 07, 2015 3:52 PM > To: 'Duncan Murdoch'; Matt Dowle; r-de...@stat.math.ethz.ch > Subject: Re: [Rd] Error generated by .Internal(nchar) disappears when >

Re: [Rd] Unexpected failure when calling new() with unnamed arg and

2015-10-07 Thread Joshua Wiley
Hi, I realize this is an old thread, but just wondering whether a conclusion was ever reached on this issue? I'm using formula(NULL) but it would be nice if default initialization worked for formula classes as well. Cheers, Josh On Thu, May 14, 2015 at 8:13 AM, Hervé Pagès

Re: [R-pkg-devel] Format/parser for NEWS (not NEWS.Rd)?

2015-10-07 Thread boB Rudis
Try looking at the source for tools:::.news_reader_default and then tools::toRd On Wed, Oct 7, 2015 at 8:37 PM, Henrik Bengtsson wrote: > Hi, > > I'm looking for a parser of the plain text NEWS format (not the > NEWS.Rd format) - ideally the same on that is used by R

[R-pkg-devel] Format/parser for NEWS (not NEWS.Rd)?

2015-10-07 Thread Henrik Bengtsson
Hi, I'm looking for a parser of the plain text NEWS format (not the NEWS.Rd format) - ideally the same on that is used by R itself. Does anyone know which that one is / of such at tool? Thanks, Henrik PS. help("news") mentions tools:::news2Rd(), but that's actually defunct (just reported

Re: [Rd] authorship and citation

2015-10-07 Thread Duncan Murdoch
On 07/10/2015 1:39 PM, Tim Keitt wrote: > On Wed, Oct 7, 2015 at 11:29 AM, Spencer Graves > wrote: > >> Another example: The "Author" of the Ecdat package is Yves Croissant < >> yves.croiss...@let.ish-lyon.cnrs.fr>. I'm the Maintainer. At some >> point, I may add

Re: [Bioc-devel] Circular dependencies and vignette building

2015-10-07 Thread Jonathan Cairns
Hi Dan and Hervé, Thanks very much! I will do so now. Thanks, Jonathan On Tue, 2015-10-06 at 12:39 -0700, Dan Tenenbaum wrote: > Yes, please upload PCHiCdata to the same issue as Chicago, do not start a new > issue. > Thanks, > Dan > > > - Original Message - > > From: "Hervé Pagès"

Re: [Rd] authorship and citation

2015-10-07 Thread S Ellison
> > Is there a point at which the original developer should not stay on the > > author > list? > > Authorship is not just about code. For example, there are functions in R > which > have been completely recoded, but the design and documentation remain. > Copyright can apply to designs and

Re: [Rd] authorship and citation

2015-10-07 Thread Hadley Wickham
On Tue, Oct 6, 2015 at 4:58 PM, Adrian Dușa wrote: > Hi Gabriel, > > On Tue, Oct 6, 2015 at 10:59 PM, Gabriel Becker > wrote: > >> [...] >> >> At the very least, this is seems to be a flagrant violation of the >> *spirit* of the CRAN policy, which

[Rd] A new CSS file for the offline documentation

2015-10-07 Thread Nicolas Drouin
I have made a new CSS file for the R offline documentation. It's far easier to read, it's lightweight, looks good, cross-browsers, responsive, and without any bug. Now my problem is where should I post it so it can be used in the next version ? And it's not an easy problem... Any ideas? The

Re: [Rd] authorship and citation

2015-10-07 Thread Gabriel Becker
Hadley, With all due respect, I'm not sure what exactly your deliniation between author and contributor is, but from what I can tell I don't agree with it. >From the blogpost regarding your new purrr package: "Purrr wouldn’t be possible without Lionel Henry . He

Re: [Rd] authorship and citation

2015-10-07 Thread Tim Keitt
On Wed, Oct 7, 2015 at 11:29 AM, Spencer Graves wrote: > Another example: The "Author" of the Ecdat package is Yves Croissant < > yves.croiss...@let.ish-lyon.cnrs.fr>. I'm the Maintainer. At some > point, I may add my name to the list of Authors but I certainly

Re: [Rd] authorship and citation

2015-10-07 Thread Spencer Graves
An example from the sos package: Its DESCRIPTION file says Author: Spencer Graves, Sundar Dorai-Raj, and Romain Francois. However, the package includes a findFn function, whose help file includes an Author(s) section, which reads, "Spencer Graves, Sundar Dorai-Raj, Romain Francois. Duncan