timeFirstDayInMonth() bug

Martin Maechler maechler at stat.math.ethz.ch
Sun Feb 19 22:59:42 CET 2012


On Fri, Feb 10, 2012 at 11:09, Daniele Amberti <daniele.amberti at ors.it> wrote:
> Any news about the bug at:
> https://r-forge.r-project.org/tracker/index.php?func=detail&aid=1742&group_id=156&atid=633
>
> Thanks,
> Daniele Amberti
>
> -----Original Message-----
> From: Daniele Amberti
> Sent: Thursday, January 12, 2012 4:22 PM
> To: Rmetrics-core at r-project.org
> Subject: timeFirstDayInMonth() bug
>
> #
> # Below You can find an example that causes a crash in R 2.12.2, Package: timeDate Version 2150.95, Revision 5145.
> #
>
> library(timeDate)
>
> x <- logical(0)
> x <- as.timeDate(x)
>
> timeFirstDayInMonth(x)
>
> # Best regards, Daniele Amberti
>

Thank you Daniele.    I've decided that (R crash)  is something R's
internal C code should not do, .... even if there's clearly a missing
check and hence a bug in
the   timeFirstDayInMonth()  function ...
a fix of which I currently leave to my co-authors...

Best regards,
Martin Maechler
> ________________________________
>
> ORS Srl
>
> Via Agostino Morando 1/3 12060 Roddi (Cn) - Italy
> Tel. +39 0173 620211
> Fax. +39 0173 620299 / +39 0173 433111
> Web Site www.ors.it
>
> ------------------------------------------------------------------------------------------------------------------------
> Qualsiasi utilizzo non autorizzato del presente messaggio e dei suoi allegati è vietato e potrebbe costituire reato.
> Se lei avesse ricevuto erroneamente questo messaggio, Le saremmo grati se provvedesse alla distruzione dello stesso
> e degli eventuali allegati.
> Opinioni, conclusioni o altre informazioni riportate nella e-mail, che non siano relative alle attività e/o
> alla missione aziendale di O.R.S. Srl si intendono non attribuibili alla società stessa, né la impegnano in alcun modo.
> _______________________________________________
> Rmetrics-core mailing list
> Rmetrics-core at r-project.org
> https://stat.ethz.ch/mailman/listinfo/rmetrics-core



More information about the Rmetrics-core mailing list