Re: [Rd] base::order breaking change in R-devel

2020-06-23 Thread Tomas Kalibera
This can be narrowed down to Sys.setlocale("LC_CTYPE","C") x2 <- "\u00e7" x1 <- iconv(x2, from="UTF-8", to="latin1") x1 < x2 # FALSE or NA In R 4.0 it returns NA, in R-devel it returns FALSE (when running in CP1252 locale on Windows). It is the same character, only the encoding is different,

[Rd] base::order breaking change in R-devel

2020-05-23 Thread Jan Gorecki
Hi R developers, There seems to be breaking change in base::order on Windows in R-devel. Code below yields different results on R 4.0.0 and R-devel (2020-05-22 r78545). I haven't found any info about that change in NEWS. Was the change intentional? Sys.setlocale("LC_CTYPE","C")