From tom@@@k@liber@ @ending from gm@il@com  Fri Jan 11 12:14:49 2019
From: tom@@@k@liber@ @ending from gm@il@com (Tomas Kalibera)
Date: Fri, 11 Jan 2019 12:14:49 +0100
Subject: [Rd] 
 Inconsistent returned values of normalizePath(NA_character_)
 on Windows and *nix
In-Reply-To: <CANROs4cjRX5aiyp_pzVyeWPKwQNpmhPD6cveAwU6gBR7b4yKTA@mail.gmail.com>
References: <CABtg=KkB-e75kms1vL7XvjdcShwarBP1VLPnT2nb0SEFAJkarg@mail.gmail.com>
 <CANROs4cjRX5aiyp_pzVyeWPKwQNpmhPD6cveAwU6gBR7b4yKTA@mail.gmail.com>
Message-ID: <f0308320-b89d-32ee-699e-c4eb625876e5@gmail.com>

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 at 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
Tomas Kalibera