Re: [Rd] strtoi output of empty string inconsistent across platforms

2019-01-11 Thread Martin Maechler
> Martin Maechler > on Fri, 11 Jan 2019 09:44:14 +0100 writes: > Michael Chirico > on Fri, 11 Jan 2019 14:36:17 +0800 writes: >> Identified as root cause of a bug in data.table: >> https://github.com/Rdatatable/data.table/issues/3267 >> On my machine, strtoi

Re: [Rd] Inconsistent returned values of normalizePath(NA_character_) on Windows and *nix

2019-01-11 Thread Tomas Kalibera
Thanks for the report, fixed in R-devel (one gets NA_character_ as a result and the path is treated as non-existent, so with a warning or error when requested via mustWork argument). Best, Tomas On 12/7/18 7:10 PM, Yihui Xie wrote: Hi, I just noticed normalizePath(NA_character_) returns NA_

Re: [Rd] strtoi output of empty string inconsistent across platforms

2019-01-11 Thread Martin Maechler
> Michael Chirico > on Fri, 11 Jan 2019 14:36:17 +0800 writes: > Identified as root cause of a bug in data.table: > https://github.com/Rdatatable/data.table/issues/3267 > On my machine, strtoi("", base = 2L) produces NA_integer_ > (which seems consistent with ?strtoi: