[Rd] CRAN check error with no example?

peter dalgaard pdalgd at gmail.com
Sat Aug 25 14:37:14 CEST 2012


On Aug 25, 2012, at 03:57 , 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.

Hum, it might not be your problem, but that error message is potentially nasty. It means that something in your package or in R itself was believed to be protected from garbage collection but apparently was not. If there's a way of reproducing the error, it might be worth trying to track down the cause.

> 
> 
>      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

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list