Re: [Rd] head/tail breaking change

2019-12-19 Thread Martin Maechler
> Jan Gorecki > on Thu, 19 Dec 2019 11:49:11 +0530 writes: > Thank you Gabriel, > I agree that new behaviour makes much more sense. Just wanted to confirm > before resolving compatibility of my unit tests. > Best, > Jan Indeed, Gabe's explanation is right-on-spot:

Re: [Rd] head/tail breaking change

2019-12-18 Thread Jan Gorecki
Thank you Gabriel, I agree that new behaviour makes much more sense. Just wanted to confirm before resolving compatibility of my unit tests. Best, Jan On Wed 18 Dec, 2019, 10:46 PM Gabriel Becker, wrote: > Jan, > > That is an intentional change as you can see in the documentation for > head/tail

Re: [Rd] head/tail breaking change

2019-12-18 Thread Gabriel Becker
Jan, That is an intentional change as you can see in the documentation for head/tail in R-devel. Last time I discussed it with Martin, this behavior was desired and thus is unlikely to change unless "our" (ie his) mind does. The hope is that the new behavior is actually what people would want (no

[Rd] head/tail breaking change

2019-12-18 Thread Jan Gorecki
Hi R-devel community, I am aware of changes in R-devel in head/tail methods but I was not expecting that to be a breaking change. # R 3.6.1 ar = array(1:27, c(3,3,3)) tail(ar, 1) #[1] 27 The current output of R-devel is something that I would expect from a tail(ar, c(1, Inf, Inf)) or tail(ar,