Open laresbernardo opened 1 year ago
@laresbernardo Thank you for all the issues you posted so far! They are all really helpful!
Loading the files from the data directory instead of downloading from the repository would be much better. However it doesn't solve the internet connection problem fully as it is the geocoding is done with tidygeocoder
and uses the ArcGIS API.
I'll still look into fixing this issue.
@laresbernardo Check out this fix
Oops:
Error: Cannot open "data/constellations.lines.json"; The file doesn't seem to exist.
Try something like this instead: file <- system.file("inst/docs", "yourfile", package = "starBliss")
@laresbernardo check this
@laresbernardo let me know if this is ok. Otherwise I will be closing this issue soon
Ideally, load the json files from the data directory instead of downloading from the repository. That way users don't have to deal with internet connection to use your package. Also, try to follow data usage best practices in an R package.