fs
fs copied to clipboard
`dir_info` in Linux not working properly
I am using dir_info in Linux (Ubuntu), but it is giving me different values when compared to Windows.
Unfortunately, I don't know how to make a reprex example, but the problem is with the column birth_time:
In Linux:
In Windows:
For reference, I am using a WSL with these configurations: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble
Shoud I install any Linux package?
What's the output of file.info() for one of these files, from Linux?
What's the output of calling stat for one of these files from the shell? (Or call system("stat <filename>") from R.)
file.info():
system(stat ...):
So it seems like the birth time is not available in Linux, and fs fills in the zero epoch. It should probably be NA instead.