fs
fs copied to clipboard
Provide cross platform file operations based on libuv.
Discovered while studying https://github.com/tidyverse/readr/issues/1345. `dir_map()` (on the C/C++ side) seems to assume libuv is giving it UTF-8 paths, but that's not true on Windows (where I made this reprex). ```...
I'm on Linux, and I'm dealing with some paths that, for reasons unknown to me, contain backslashes in the file names. It seems that the fs package abjectly refuses to...
Hi maybe I am missing something, I am just seeking some guidance. How would I clean up this path? It is still working and valid but I don't like it:...
I see at the end of https://github.com/r-lib/fs/issues/145 that a fix for “conflicting types for 'strmode'” was checked in at https://github.com/r-lib/fs/commit/18f93ac411d3dfbd076dfb65017970f7c06324f3 and it appears to be committed into 1.5.0. So what...
Pull request as requested! Fix for Cygwin compatibility.
Very similar to #366 On Windows with 4.1.2. Discovered while starting to poke around https://github.com/r-lib/devtools/issues/2422. All package/project paths are pre-processed with `fs::path_real()` in usethis, so this bug is quite painful....
This is an issue that emerges when a certain, admittedly unusual, combination of valid characters is printed on the console via `fs::path()`. The shortest combination I found is the following...
Hi! Installing from source on R 4.1.0 on Termux, I get this error: ``` id.cc:109:17: error: use of undeclared identifier 'getpwent'; did you mean 'getgrent'? passwd* pwd = getpwent(); ^~~~~~~~...