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

Tomas Kalibera tom@@@k@liber@ @ending from gm@il@com
Fri Jan 11 12:14:49 CET 2019

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).


On 12/7/18 7:10 PM, Yihui Xie wrote:
> Hi,
> I just noticed normalizePath(NA_character_) returns NA_character_ on
> *nix but "%HOME%\\NA" on Windows (with a warning by default), where
> %HOME% denotes the HOME folder like "C:\\Users\\John". I'm not sure if
> this is a bug or by design.
> Regards,
> Yihui
> --
> https://yihui.name
> ______________________________________________
> R-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

More information about the R-devel mailing list