-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use fs
for all file path operations
#38
Comments
Sounds good, thanks 👍 I probably should look into |
Hi @mpadge , thanks for the heads up ! Could you please share the reprex they sent you? ps. I usually use |
The reprex was this: > f <- berlin_gtfs_to_zip ()
> gtfs <- extract_gtfs (f, quiet = TRUE)
#> Errore in check_extract_pars(filename, stn_suffixes) :
#> filename C:\Users\<User>\AppData\Local\Temp\Rtmp4GhleE/vbb.zip does not exist The filepath for fs::path(fs::path_temp(), "vbb.zip") |
Thanks for sharing, @mpadge ! |
I recently got an email about
gtfsrouter
luckily with reprex pasted in to show that file paths on windows were unusable, just because of combiningtemp.dir()
withfile.path()
. Usingfs
solves those issues be standardising paths on windows, which I suggest would also be good to implement here. Happy to do this if nobody else is?The text was updated successfully, but these errors were encountered: