Re: [Rd] Part of fastpass in 'sort.list' can make sorting unstable

2018-04-06 Thread Gabe Becker
Thanks for catching this. This is easy to take out without touching the rest of the machinery. It also wouldn't be too hard to write a still-faster-but-not-quite-as-much-path which correctly reverses the sortedness of a sorted vector that includes ties. My suspicion, without being the one who will

[Rd] Part of fastpass in 'sort.list' can make sorting unstable

2018-04-06 Thread Suharto Anggono Suharto Anggono via R-devel
In the code of functions 'order' and 'sort.list' in R 3.5.0 alpha (in https://svn.r-project.org/R/branches/R-3-5-branch/src/library/base/R/sort.R), in "fastpass, take advantage of ALTREP metadata", there is "try the reverse since that's easy too...". If it succeeds, ties are reordered, violating

[Rd] survival updates and testing

2018-04-06 Thread Therneau, Terry M., Ph.D. via R-devel
I've run the latest version of survival through the test suites of 486 of the 565 packages that depend on it (Depends, Imports, LinkingTo, Suggests), and have a couple small issues that I'm taking to other authors about. The exercise turned up a half dozen real errors in my package.  I plan to su

Re: [Rd] potential file.copy() or documentation bug when copy.date = TRUE

2018-04-06 Thread Tomas Kalibera
Thanks for the report, fixed in R-devel. Best, Tomas On 04/05/2018 05:01 PM, Gábor Csárdi wrote: This is a recent R-devel. file.copy() is not vectorized if multiple destinations succeed: cat("foo1\n", file = "foo1") cat("foo2\n", file = "foo2") unlink(c("copy1", "copy2"), recursive = TRUE) fi