@@ -764,7 +764,7 @@ makeNodePSOCK <- function(worker = getOption2("parallelly.localhost.hostname", "
764764 }
765765
766766 if (length(socketOptions ) == 1L ) {
767- code <- sprintf(" options(socketOptions = \" %s\" )" , socketOptions )
767+ code <- sprintf(" options(socketOptions= \" %s\" )" , socketOptions )
768768 rscript_expr <- c(" -e" , shQuote(code , type = rscript_sh [1 ]))
769769 rscript_args_internal <- c(rscript_args_internal , rscript_expr )
770770 }
@@ -830,7 +830,7 @@ makeNodePSOCK <- function(worker = getOption2("parallelly.localhost.hostname", "
830830 tryCatch({
831831 parse(text = code )
832832 }, error = function (ex ) {
833- stopf(" Argument 'rscript_envs' appears to contain invalid values: %s" , paste(sprintf(" %s=%s" , sQuote(names ), sQuote(rscript_envs )), collapse = " , " ))
833+ stopf(" Argument 'rscript_envs' appears to contain invalid values: %s" , paste(sprintf(" %s=%s" , sQuote(names ), sQuote(rscript_envs )), collapse = " ," ))
834834 })
835835 rscript_args_internal <- c(rscript_args_internal , " -e" , shQuote(code , type = rscript_sh [1 ]))
836836 }
@@ -854,7 +854,7 @@ makeNodePSOCK <- function(worker = getOption2("parallelly.localhost.hostname", "
854854 # # .{slave,work}RSOCK() command already specified?
855855 if (! any(grepl(" parallel:::[.](slave|work)RSOCK[(][)]" , rscript_args ))) {
856856 # # In R (>= 4.1.0), parallel:::.slaveRSOCK() was renamed to .workRSOCK()
857- cmd <- " workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()"
857+ cmd <- " workRSOCK<- tryCatch(parallel:::.workRSOCK,error=function(e)parallel:::.slaveRSOCK);workRSOCK()"
858858 rscript_args_internal <- c(rscript_args_internal , " -e" , shQuote(cmd , type = rscript_sh [1 ]))
859859 }
860860
0 commit comments