Skip to content

Commit

Permalink
explicitly namespace dopar transxchange try calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Oct 18, 2023
1 parent 5094f1f commit d7eb7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/transxchange.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ transxchange2gtfs <- function(path_in,
doSNOW::registerDoSNOW(cl)
boot <- foreach::foreach(i = seq_len(length(files)), .options.snow = opts)
res_all <- foreach::`%dopar%`(boot, {
transxchange_import_try(files[i],
UK2GTFS:::transxchange_import_try(files[i],
try_mode = try_mode)
})
parallel::stopCluster(cl)
Expand Down Expand Up @@ -180,7 +180,7 @@ transxchange2gtfs <- function(path_in,
doSNOW::registerDoSNOW(cl)
boot <- foreach::foreach(i = seq_len(length(res_all)), .options.snow = opts)
gtfs_all <- foreach::`%dopar%`(boot, {
transxchange_export_try(res_all[[i]],
UK2GTFS:::transxchange_export_try(res_all[[i]],
cal = cal,
naptan = naptan_trim,
scotland = scotland,
Expand Down

0 comments on commit d7eb7fd

Please sign in to comment.