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

2015-10-07 Thread Morgan, Martin
mailto:r-devel-boun...@r-project.org] On Behalf Of > Duncan > Murdoch > Sent: Monday, October 05, 2015 6:57 PM > To: Matt > Dowle ; r-de...@stat.math.ethz.ch > Subject: Re: > [Rd] Error generated by .Internal(nchar) disappears when > debugging > > > On 05/10/2015 7:24 PM,

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 Subject: Re: [Rd] Error generated by .Internal(nchar) disappears when

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

2015-10-07 Thread Joris Meys
---Original Message- > > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of > Duncan > > Murdoch > > Sent: Monday, October 05, 2015 6:57 PM > > To: Matt Dowle ; r-de...@stat.math.ethz.ch > > Subject: Re: [Rd] Error generated by .Internal(ncha

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

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

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

2015-10-06 Thread Joris Meys
On Tue, Oct 6, 2015 at 3:02 PM, Duncan Murdoch wrote: > On 06/10/2015 8:48 AM, Joris Meys wrote: > > > The reason I wouldn't count your original post as a simple reproducible > example (and the same applies to what I saw on Stack Overflow), was that > it required a fairly large package (copula) i

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

2015-10-06 Thread Duncan Murdoch
On 06/10/2015 8:48 AM, Joris Meys wrote: > > > On Tue, Oct 6, 2015 at 1:57 AM, Duncan Murdoch > wrote: > > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > Joris Meys gmail.com > writes: > > > >> > >> Hi all, > >> > >>

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

2015-10-06 Thread Joris Meys
Thank you for looking at the issue. I've tried it with a tiny package myself and I get the same results. So the problem should solve itself in time. Also thank you Michael for explaining the difference in behaviour when debugging. Cheers Joris On Tue, Oct 6, 2015 at 2:41 AM, Duncan Murdoch wrote

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

2015-10-06 Thread Joris Meys
On Tue, Oct 6, 2015 at 1:57 AM, Duncan Murdoch wrote: > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > Joris Meys gmail.com> writes: > > > >> > >> Hi all, > >> > >> I have a puzzling problem related to nchar. In R 3.2.1, the internal > > nchar > >> gained an extra argument (see > >> https://stat.e

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

2015-10-05 Thread William Dunlap
I can reproduce the problem by running R-3.2.0 (on Windows), installing copula from CRAN, and then using it: > install.packages("copula") Installing package into 'C:/Program Files/R/R-3.2.0/site-library' (as 'lib' is unspecified) also installing the dependencies 'gsl', 'ADGofTest', 'pspline' Warn

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

2015-10-05 Thread Duncan Murdoch
On 05/10/2015 8:25 PM, Matt Dowle wrote: > > On Mon, Oct 5, 2015 at 4:57 PM, Duncan Murdoch > wrote: > > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > Joris Meys gmail.com > writes: > > > >> > >> Hi all, > >> > >> I h

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

2015-10-05 Thread Matt Dowle
On Mon, Oct 5, 2015 at 4:57 PM, Duncan Murdoch wrote: > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > Joris Meys gmail.com> writes: > > > >> > >> Hi all, > >> > >> I have a puzzling problem related to nchar. In R 3.2.1, the internal > > nchar > >> gained an extra argument (see > >> https://stat.e

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

2015-10-05 Thread Michael Weylandt
Doesn't the byte-compiler inline calls like nchar() to call the .Internal directly for certain optimization levels? If the 'internal' signature changed in a point release, I'd expect an issue like the below. (I'm pretty sure CRAN packages are byte-compiled at build-time, but don't use Windows

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

2015-10-05 Thread Duncan Murdoch
On 05/10/2015 7:24 PM, Matt Dowle wrote: > Joris Meys gmail.com> writes: > >> >> Hi all, >> >> I have a puzzling problem related to nchar. In R 3.2.1, the internal > nchar >> gained an extra argument (see >> https://stat.ethz.ch/pipermail/r-announce/2015/000586.html) >> >> I've been testing code

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

2015-10-05 Thread Matt Dowle
Joris Meys gmail.com> writes: > > Hi all, > > I have a puzzling problem related to nchar. In R 3.2.1, the internal nchar > gained an extra argument (see > https://stat.ethz.ch/pipermail/r-announce/2015/000586.html) > > I've been testing code using the package copula, and at home I'm still > r