Re: [Rd] CRAN check error with no example?

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Fri, 31 Aug 2012 20:48:19 -0400

On 12-08-24 9:57 PM, Spencer Graves wrote:
> Hi, Henrik:
>
>
> Thanks. That suggests I should ignore this error message. That
> was my tentative plan, but I felt a need to mention it to this group
> before I did.

Brian Ripley tracked this to a bug in the parser, and I got a reproducible version of it to work on today. Turns out it was a fairly obscure garbage collection/protection bug in the parser, which should now be fixed. I don't think it really has anything to do with your code, you just got lucky and triggered a garbage collection at the right (wrong?) time.

If you see it again, please don't ignore it, please let me know.

Duncan Murdoch

>
>

> Best Wishes,
> Spencer
>
>
> On 8/24/2012 3:35 PM, Henrik Bengtsson wrote:
>> For what it's worth, I got that exact same error the other day when
>> running R CMD check --as-cran on fda v2.2.8 and 'hyperSpec
>> v0.98-20120713 (out of 84 other packages) when using R Under
>> development (unstable) (2012-08-14 r60264) [Platform:
>> x86_64-w64-mingw32/x64 (64-bit)]. Those errors did not show with R
>> version 2.15.1 Patched (2012-08-16 r60282) [Platform:
>> x86_64-w64-mingw32/x64 (64-bit)].
>>
>> /Henrik
>>
>> On Fri, Aug 24, 2012 at 1:38 PM, Spencer Graves
>> <spencer.graves_at_prodsyse.com> wrote:
>>> Hello, All:
>>>
>>>
>>> The CRAN checks for the "fda" package includes one error:
>>>
>>>
>>> The error most likely occurred in ... file.copy2
>>> ...
>>>
>>> Error: unprotect_ptr: pointer not found
>>> Execution halted
>>>
>>>
>>> (http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian/fda-00check.html)
>>>
>>>
>>> The help page for "file.copy2" includes "\examples" with
>>> everything wrapped in "\dontrun".
>>>
>>>
>>> I'm unable to replicate this error. I'm about to submit a new
>>> version of the fda package to CRAN, but I felt a need to ask about this
>>> first.
>>>
>>>
>>> Thanks,
>>> Spencer
>>>
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-devel_at_r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 01 Sep 2012 - 00:50:24 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 01 Sep 2012 - 03:40:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive