Misuse of .Internal (optimhess) in packages betatrgarch, , fGarch, iterLap and rgenoud

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 4 16:23:48 CEST 2012


On 04/06/2012 14:56, Kurt Hornik wrote:
>>>>>> Yohan Chalabi writes:
>
>> Please find a new version of fGarch on CRAN ftp server:
>> fGarch_2150.81.tar.gz.
>
>> Thank you for your help.
>> Yohan
>
> Yohan,
>
> I get
>
> * checking tests ... ERROR
> Running the tests in ‘tests/doRUnit.R’ failed.
> Last 13 lines of output:
>    Number of failures: 0
>
>
>    1 Test Suite :
>    fGarch unit testing - 52 test functions, 1 error, 0 failures
>    ERROR in test.hessian.rosenbrock: Error in .Internal(optimhess(par, fn, gr = NULL, con)) :
>      there is no .Internal function 'optimhess'
>    Error in eval(expr, envir, enclos) :
>
>    unit testing failed (#test failures: 0, R errors: 1)
>
>    Calls: source ->  withVisible ->  eval ->  eval
>    Execution halted
>
> so I guess you need to update your unit tests as well?

He does, just as I said I did in the NMU ....

>
> -k
>
>> On 4 juin 2012, at 09:40, Yohan Chalabi wrote:
>
>>> Thanks for the reminder.
>>>
>>> We will submit a new version of fGarch ASAP.
>>>
>>> Regards,
>>> Yohan
>>>
>>> On 4 juin 2012, at 09:07, Prof Brian Ripley wrote:
>>>
>>>> Ping!
>>>>
>>>> Package caschrono is failing its tests because of this.
>>>>
>>>> The fix is simple, and you were asked to do this months ago.  We are about to put up a Non-Maintainer update, 2110.80.1, with this fixed (including in the test suite!)
>>>>
>>>> But really we should not have to remind and sweep up after you.
>>>>
>>>> -------- Original Message --------
>>>> Subject: Misuse of .Internal (optimhess) in packages betatrgarch,, fGarch, iterLap and rgenoud
>>>> Date: Tue, 22 May 2012 09:59:03 +0100
>>>> From: Prof Brian Ripley<ripley at stats.ox.ac.uk>
>>>> To: Genaro Sucarrat<genaro.sucarrat at bi.no>,        Rmetrics Core Team<Rmetrics-core at r-project.org>,        Bjoern Bornkamp<bbnkmp at gmail.com>,        Jasjeet Singh Sekhon<sekhon at berkeley.edu>
>>>> CC: cran at R-project.org<cran at r-project.org>
>>>>
>>>> All of these packages have R CMD check reports such as
>>>>
>>>> Found .Internal call in the following function:
>>>> ‘tegarch.est’
>>>> with calls to .Internal functions
>>>> ‘optimhess’
>>>>
>>>> Packages should not call .Internal(): it is not part of the API, for
>>>> use only by R itself and subject to change without notice.
>>>>
>>>> There is no longer such a .Internal function in the development version
>>>> of R.  Please update your package to use the R function optimhess()
>>>> instead, and add/incorporate
>>>> Depends: R (>= 2.15)
>>>> in your DESCRIPTION file.
>>>>
>>>> BDR
>>>>
>>>> --
>>>> Brian D. Ripley,                  ripley at stats.ox.ac.uk
>>>> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
>>>> University of Oxford,             Tel:  +44 1865 272861 (self)
>>>> 1 South Parks Road,                     +44 1865 272866 (PA)
>>>> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>>>>
>>>> _______________________________________________
>>>> Rmetrics-core mailing list
>>>> Rmetrics-core at r-project.org
>>>> https://stat.ethz.ch/mailman/listinfo/rmetrics-core
>>>>
>>>
>
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the Rmetrics-core mailing list