-
Notifications
You must be signed in to change notification settings - Fork 29
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
Issues with setup_r5() #10
Comments
The |
I' not entirely sure why R5 create these other Regarding the other questions, update the lastest version of |
Apparently, the pbf.mapdb and pbf.mapdb.p files are required by R5. I tried deleting them, but R5 created them again the next time I ran setup. I've added them to .gitignore. |
The problem persists. Here's a reproducible code, can you check if you get the same error? dir.create("~/test_r5r")
files_path <- system.file("extdata", package = "r5r")
file.copy(
from = paste0(files_path, "/", list.files(files_path)),
to = "~/test_r5r"
)
setup_r5("~/test_r5r") |
In my test, "~/test_r5r" is not recognised as a correct path. I don't know if this is an R or Java issue. Changing the path to "/home/marcus/test_r5r" worked. I've found the function path.expand() that does what we need. |
I believe it's working now. |
Works alright for me now! |
I noticed that after the creation of R5 core some new files were created in
inst/extdata
(when running it with the sample data). These are:network.dat
,poa_osm.pbf.mapdb
andpoa_osm.pbf.mapdb.p
. Any ideas what that might be?Also, when running
setup_r5
with a .pbf file but no gtfs an error arises (I just copied the pbf file to ~ in this example):Edit: Actually, I tried creating a
test
folder inside~
with the exact same files asinst/extdata"
and runsetup_r5("~/test")
and I get the same error message as above.The text was updated successfully, but these errors were encountered: