Re: [Rd] normalizePath output depends on existence of directory

2015-03-11 Thread Duncan Murdoch
On 11/03/2015 8:55 AM, Thierry Onkelinx wrote: Dear all, I'm not sure whether this is intended behaviour or a bug. The path returns from normalizePath is different when the directory doesn't exist. I have included a reproducible example. See the help page. Duncan Murdoch path <- tempfile()

[Rd] normalizePath output depends on existence of directory

2015-03-11 Thread Thierry Onkelinx
Dear all, I'm not sure whether this is intended behaviour or a bug. The path returns from normalizePath is different when the directory doesn't exist. I have included a reproducible example. path <- tempfile() missing.dir <- normalizePath(path, winslash = "/", mustWork = FALSE) dir.create(path)