Re: [Rd] Compiler + stopifnot bug

2019-01-04 Thread Iñaki Ucar
I confirm it is fixed in r75946. Thanks. Iñaki On Fri, 4 Jan 2019 at 09:27, Tierney, Luke wrote: > > Should be fixed in r75946. > > Best, > > luke > > On Fri, 4 Jan 2019, Tierney, Luke wrote: > > > Thanks for the reports. Will look into it soon and report back. > > > > Luke > > > > Sent from my

Re: [Rd] Compiler + stopifnot bug

2019-01-03 Thread Tierney, Luke
Should be fixed in r75946. Best, luke On Fri, 4 Jan 2019, Tierney, Luke wrote: > Thanks for the reports. Will look into it soon and report back. > > Luke > > Sent from my iPhone > >> On Jan 3, 2019, at 2:15 PM, Martin Morgan wrote: >> >> For what it's worth this also introduced >> >>> df = dat

Re: [Rd] Compiler + stopifnot bug

2019-01-03 Thread Tierney, Luke
Thanks for the reports. Will look into it soon and report back. Luke Sent from my iPhone > On Jan 3, 2019, at 2:15 PM, Martin Morgan wrote: > > For what it's worth this also introduced > >> df = data.frame(v = package_version("1.2")) >> rbind(df, df)$v > [[1]] > [1] 1 2 > > [[2]]

Re: [Rd] Compiler + stopifnot bug

2019-01-03 Thread Martin Morgan
For what it's worth this also introduced > df = data.frame(v = package_version("1.2")) > rbind(df, df)$v [[1]] [1] 1 2 [[2]] [1] 1 2 instead of > rbind(df, df)$v [1] '1.2' '1.2' which shows up in Travis builds of Bioconductor packages https://stat.ethz.ch

Re: [Rd] Compiler + stopifnot bug

2019-01-03 Thread Duncan Murdoch
On 03/01/2019 3:37 p.m., Duncan Murdoch wrote: I see this too; by bisection, it seems to have first appeared in r72943. Sorry, that was a typo. I meant r75943. Duncan Murdoch Duncan Murdoch On 03/01/2019 2:18 p.m., Iñaki Ucar wrote: Hi, I found the following issue in r-devel (2019-01-02

Re: [Rd] Compiler + stopifnot bug

2019-01-03 Thread Duncan Murdoch
I see this too; by bisection, it seems to have first appeared in r72943. Duncan Murdoch On 03/01/2019 2:18 p.m., Iñaki Ucar wrote: Hi, I found the following issue in r-devel (2019-01-02 r75945): `foo<-` <- function(x, value) { bar(x) <- value * x x } `bar<-` <- function(x, value) {

[Rd] Compiler + stopifnot bug

2019-01-03 Thread Iñaki Ucar
Hi, I found the following issue in r-devel (2019-01-02 r75945): `foo<-` <- function(x, value) { bar(x) <- value * x x } `bar<-` <- function(x, value) { stopifnot(all(value / x == 1)) x + value } `foo<-` <- compiler::cmpfun(`foo<-`) `bar<-` <- compiler::cmpfun(`bar<-`) x <- c(2, 2) foo(