From d7eb7fd309329e6d4be039592529785d5701b8df Mon Sep 17 00:00:00 2001 From: mpadge Date: Wed, 18 Oct 2023 10:28:57 +0200 Subject: [PATCH] explicitly namespace dopar transxchange try calls --- R/transxchange.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/transxchange.R b/R/transxchange.R index 94ebafc..1b6a3ee 100644 --- a/R/transxchange.R +++ b/R/transxchange.R @@ -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) @@ -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,