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_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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


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

2018-12-07 Thread Yihui Xie
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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel