Skip to content

Commit

Permalink
Merge pull request #60 from mpadge/master
Browse files Browse the repository at this point in the history
explicitly namespace dopar transxchange try calls
  • Loading branch information
mem48 authored Nov 9, 2023
2 parents 5094f1f + d7eb7fd commit efdae8d
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 efdae8d

Please sign in to comment.