Fix missed test with UTF-8 characters, which now passes on a strict Latin-1 locale.
Fix undefined behavior when casting -1 to
fs_path objects now always show 10 characters by default when printed in tibbles (#191).
tests now pass successfully when run in strict Latin-1 locale
Tidy paths are now always returned with uppercase drive letters on Windows (#174).
colourise_fs_path() now returns paths uncolored if the colors argument /
LS_COLORS is malformed (#135).
file_info() gain a
fail parameter, to signal warnings rather than errors if they are called on a path which is unavailable due to permissions or locked resources (#105).
fs_path objects now print (without colors) even if the user does not have permission to stat them (#121).
compatibility with upcoming gcc 8 based Windows toolchain (#119)
path_home() now use
HOMEPATH as the user home directory on Windows. This differs from the definition used in
path.expand() but is consistent with definitions from other programming environments such as python and rust. This is also more compatible with external tools such as git and ssh, both of which put user-level files in
USERPROFILE by default. To mimic R’s (and previous) behavior there are functions
Handling missing values are more consistent. In general
is_* functions always return
FALSE for missing values,
path_* functions always propagate NA values (NA inputs become NA outputs) and
link_* functions error with NA inputs.
fs functions now preserve tildes in their outputs. Previously paths were always returned with tildes expanded. Users can use
path_expand() to expand tildes if desired.
libuv return paths now marked as UTF-8 strings in C code, fixing encoding issues on windows. (#42)
dir_copy() now works correctly with absolute paths and no longer removes files when
overwrite = TRUE.