From mattjdowle at gmail.com  Tue Oct  6 01:24:15 2015
From: mattjdowle at gmail.com (Matt Dowle)
Date: Mon, 5 Oct 2015 23:24:15 +0000
Subject: [Rd] Error generated by .Internal(nchar) disappears when
	debugging
References: <CAO1zAVYsOWG0QSVdU_wex-Y2U3KD3YEtGJu5nH5zNc8dCzm5ig@mail.gmail.com>
Message-ID: <loom.20151006T011642-505@post.gmane.org>

Joris Meys <jorismeys <at> 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
> running R 3.2.0 (I know, I know...). When trying the following code, I 
got
> an error:
> 
> > library(copula)
> > fgmCopula(0.8)
> Error in substr(sc[i], 2, nchar(sc[i]) - 1) :
>   4 arguments passed to .Internal(nchar) which requires 3
> 
> Cheers
> Joris


I'm seeing a similar problem. IIUC, the Windows binary .zip from CRAN of 
any package using base::nchar is affected. Could someone check my answer 
here is correct please : http://stackoverflow.com/a/32959306/403310

Matt



[Rd] Error generated by .Internal(nchar) disappears when debugging
Matt Dowle