[Rd] Bug in file.access on Windows when using network shares

2018-07-02 Thread Nick Kennedy
Dear R-Devel, I've run into an issue with a package (vcfR) that uses file.access to check a file is readable before opening it. The issue is actually in base R though. I've looked into the package code, and it calls file.access(path, mode = 4). I've created a minimal working example of the code in

Re: [Rd] Bug in file.access on Windows when using network shares

2018-07-03 Thread Nick Kennedy
an error, which seems to be a fine behavior > for me. It is not surprising to me that in some cases (like working on a > local copy of a file in a distributed file-system), the OS would not know > whether a file is readable/writeable before trying out on/syncing the > distributed version. >