ipeaGIT / gtfs2gps

Convert GTFS data into a data.table with GPS-like records in R
https://ipeagit.github.io/gtfs2gps/
Other
71 stars 10 forks source link

Undo changes to future::plan() afterward #165

Closed HenrikBengtsson closed 4 years ago

HenrikBengtsson commented 4 years ago

Please make sure to undo any changes you do to plan() inside a function so you don't override/surprise the end-user who might already have set something else for other purposes than your package;

https://github.com/ipeaGIT/gtfs2gps/blob/0415d9ac4ce2d35dfe629efffcfb668b691ddb06/R/gtfs2gps.R#L236

The reason for this is explained in ?future::plan and it also shows how to undo any changes.