Re: [Rd] findInterval Documentation Suggestion

2020-03-05 Thread brodie gaslam via R-devel
Trying the attachment as .txt instead of Rd. On Thursday, March 5, 2020, 5:20:25 PM EST, brodie gaslam via R-devel wrote: % File src/library/base/man/findInterval.Rd % Part of the R package, https://www.R-project.org % Copyright 1995-2020 R Core Team % Distributed under GPL 2 or later \name

[Rd] findInterval Documentation Suggestion

2020-03-05 Thread brodie gaslam via R-devel
I've found over time that R documentation that comes off as terse at first blush is usually revealed to be precise, concise, and complete on close reading.  I'm sure this is also true of `?findInterval`, but for whatever reason my brain simply refuses to extract meaning from it. Part of the proble

Re: [Rd] survival bug? - solved

2020-03-05 Thread brodie gaslam via R-devel
I _think_ the relevant section of the C standard is 6.5.6 Additive Operators Par 8, excerpted here: > If both the pointer operand and the result point to elements > of the same array object, or one past the last element of the > array object, the evaluation shall not produce an overflow; > oth

Re: [Rd] survival bug? - solved

2020-03-05 Thread Therneau, Terry M., Ph.D. via R-devel
 I ended up finding the issue by a focused code review. Once in the past, I had a version that would fail under one architecture but not another, in that case some help from Brian Ripley pointed me to the offending line of C code.   That line read, but did not write, at an invalid memory loca

[Rd] rounding change

2020-03-05 Thread Therneau, Terry M., Ph.D. via R-devel
This is a small heads up for package maintainers.   Under the more recent R-devel, R CMD check turned up some changes in the *.out files.   The simple demonstration is to type  "round(51/80, 3)", which gives .638 under the old and .637 under the new.   (One of my coxph test cases has a concor