From murdoch.duncan at gmail.com  Sat Sep  1 02:48:19 2012
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 31 Aug 2012 20:48:19 -0400
Subject: [Rd] CRAN check error with no example?
In-Reply-To: <50383113.9090401@prodsyse.com>
References: <5037E65D.3020501@prodsyse.com>
	<CAFDcVCRaPpu5rFPndrEo=fJa4Jbpe2j01Qh3pNoV5pONnsgdCw@mail.gmail.com>
	<50383113.9090401@prodsyse.com>
Message-ID: <50415B53.7090008@gmail.com>

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
>



[Rd] CRAN check error with no example?
Duncan Murdoch