Closed HenrikBengtsson closed 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;
plan()
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.
?future::plan
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.