Skip to content
Prev 51080 / 63424 Next

Error generated by .Internal(nchar) disappears when debugging

On 05/10/2015 7:24 PM, Matt Dowle wrote:
Nobody has posted a simple reproducible example here, so it's kind of
hard to say.

I would have guessed that a change to the internal signature of the C
code underlying nchar() wouldn't have any effect on a package that
called the R nchar() function.

When I put together my own example (a tiny package containing a function
calling nchar(), built to .zip using R 3.2.2, installed into R 3.2.0),
it confirmed my guess.

On the other hand, if some package is calling the .Internal function
directly, I'd expect that to break.  Packages shouldn't do that.

So I'd say there's been no evidence posted of a problem in R here,
though there may be problems in some of the packages involved.  I'd
welcome an example that provided some usable evidence.

Duncan Murdoch