From plummerm at iarc.fr  Fri May 19 08:16:19 2017
From: plummerm at iarc.fr (Martyn Plummer)
Date: Fri, 19 May 2017 06:16:19 +0000
Subject: [Rd] [R] R-3.4.0 fails test
In-Reply-To: <20170519041303.GA5250@slingshot.co.nz>
References: <4a086fbb-61ed-d3a5-ce23-14bbaea5531f@gmail.com>
 <ACA47D66-F469-4C75-8521-CB0DD76572C7@gmail.com>
 <20170518090016.GB4553@slingshot.co.nz>
 <29540304-FC8B-4B49-B94B-E191DEFA3BCB@gmail.com>
 <CAO1zAVarefFWaW_UmN6gCN3ppVuaGhLO7ErYdpUJmbfJ6rb4XQ@mail.gmail.com>
 <CAO1zAVb2T3roWLU4FxhvjxJz31wRp8oYtCeHc2e8V8KOprP1DA@mail.gmail.com>
 <18013A70-4C15-4A20-8626-578C91BF80DB@gmail.com>
 <B736344B-9330-48FA-AB1D-17B76771673A@iarc.fr>
 <5854D32F-A43D-4002-8F0F-6DD0D7888B5C@gmail.com>
 <22813.49600.238510.855887@stat.math.ethz.ch>,
 <20170519041303.GA5250@slingshot.co.nz>
Message-ID: <1495174481092.24933@iarc.fr>

I have fixed this in R-devel and will port it over to the R release branch in due course.

The underlying issue is that the conversion from POSIXlt to POSIXct uses the local time zone and not the CET time zone. I believe this is a bug, but I will take up that discussion elsewhere.

Martyn
________________________________________
From: Patrick Connolly <p_connolly at slingshot.co.nz>
Sent: 19 May 2017 06:13
To: Martin Maechler
Cc: peter dalgaard; Martyn Plummer; Joris Meys; R-devel
Subject: Re: [Rd] [R] R-3.4.0 fails test

On Thu, 18-May-2017 at 05:46PM +0200, Martin Maechler wrote:

|>
.....

|>
|> Being pretty "stretched" time wise currently, I'm happy for
|> timezone-portable propositions to change the test.

Meantime, anyone who lives where DST happpens in December who wants to
get through the remaining tests can avoid this one by changing the line

> stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXct(dlt))))
to
> stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXlt(dlt))))
                                                                ^^^^
(which effectively isn't testing anything much)

A less lazy way would be to comment out the relevant lines.


|>
|> Martin

--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
   ___    Patrick Connolly
 {~._.~}                   Great minds discuss ideas
 _( Y )_                 Average minds discuss events
(:_~*~_:)                  Small minds discuss people
 (_)-(_)                              ..... Eleanor Roosevelt

~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}



[Rd] [R] R-3.4.0 fails test
Martyn Plummer