R Under development (unstable) (2025-12-11 r89152 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #! /usr/bin/env Rscript > ## This runs testme test script inst/testme/test-isLocalhostNode.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > parallelly:::testme("isLocalhostNode") Test 'isLocalhostNode' ... > library(parallelly) > message("*** isLocalhostNode() ...") *** isLocalhostNode() ... > message("- isLocalhostNode.default ...") - isLocalhostNode.default ... > res <- isLocalhostNode(list()) > print(res) [1] NA > stopifnot(is.na(res)) > message("- isLocalhostNode.default ... DONE") - isLocalhostNode.default ... DONE > message("- isLocalhostNode.RichSOCKnode ...") - isLocalhostNode.RichSOCKnode ... > cl <- makeClusterPSOCK(1) [06:47:34.321] [local output] makeClusterPSOCK() ... [06:47:34.382] | [local output] Workers: [n = 1] 'localhost' [06:47:34.390] | [local output] Base port: 37460 [06:47:34.390] | [local output] Getting setup options for 1 cluster nodes ... [06:47:34.391] | [local output] Node #1 of 1 ... [06:47:34.391] | [local output] localMachine=TRUE => revtunnel=FALSE [06:47:34.393] | Testing if worker's PID can be inferred: '"D:/RCompile/recent/R/bin/x64/Rscript" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382686c69.pid\")),silent=TRUE)" -e "file.exists(\"D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382686c69.pid\")"' [06:47:34.939] | - Possible to infer worker's PID: TRUE [06:47:34.940] | [local output] Rscript port: 37460 [06:47:34.941] | [local output] Getting setup options for 1 cluster nodes ... done [06:47:34.941] | [local output] Parallel setup requested for some PSOCK nodes [06:47:34.942] | [local output] Setting up PSOCK nodes in parallel [06:47:34.942] | List of 36 [06:47:34.942] | $ worker : chr "localhost" [06:47:34.942] | ..- attr(*, "localhost")= logi TRUE [06:47:34.942] | $ master : chr "localhost" [06:47:34.942] | $ port : int 37460 [06:47:34.942] | $ connectTimeout : num 120 [06:47:34.942] | $ timeout : num 120 [06:47:34.942] | $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [06:47:34.942] | $ homogeneous : logi TRUE [06:47:34.942] | $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=test-isLocalhostNode.R:17720:CRA"| __truncated__ [06:47:34.942] | $ rscript_envs : NULL [06:47:34.942] | $ rscript_libs : NULL [06:47:34.942] | $ rscript_startup : NULL [06:47:34.942] | $ rscript_sh : chr [1:2] "cmd" "cmd" [06:47:34.942] | $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [06:47:34.942] | $ methods : logi TRUE [06:47:34.942] | $ socketOptions : chr "no-delay" [06:47:34.942] | $ useXDR : logi FALSE [06:47:34.942] | $ outfile : chr "/dev/null" [06:47:34.942] | $ renice : int NA [06:47:34.942] | $ rshcmd : NULL [06:47:34.942] | $ user : chr(0) [06:47:34.942] | $ revtunnel : logi FALSE [06:47:34.942] | $ rshlogfile : NULL [06:47:34.942] | $ rshopts : chr(0) [06:47:34.942] | $ rank : int 1 [06:47:34.942] | $ manual : logi FALSE [06:47:34.942] | $ dryrun : logi FALSE [06:47:34.942] | $ quiet : logi FALSE [06:47:34.942] | $ setup_strategy : chr "parallel" [06:47:34.942] | $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [06:47:34.942] | $ pidfile : chr "D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382686c69.pid" [06:47:34.942] | $ rshcmd_label : NULL [06:47:34.942] | $ rsh_call : NULL [06:47:34.942] | $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [06:47:34.942] | $ localMachine : logi TRUE [06:47:34.942] | $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [06:47:34.942] | master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [06:47:34.942] | 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [06:47:34.942] | 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [06:47:34.942] | rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [06:47:34.942] | "cmd", "sh", "none"), default_packages = c("datasets", "utils", [06:47:34.942] | "grDevices", "graphics", "stats", if (methods) "methods"), methods = TRUE, [06:47:34.942] | socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [06:47:34.942] | "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [06:47:34.942] | FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [06:47:34.942] | NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [06:47:34.942] | NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [06:47:34.942] | setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [06:47:34.942] | "parallel"), calls = getOption2("parallelly.makeNodePSOCK.calls", [06:47:34.942] | FALSE), action = c("launch", "options"), verbose = FALSE) [06:47:34.942] | $ arguments :List of 29 [06:47:34.942] | ..$ worker : chr "localhost" [06:47:34.942] | ..$ master : NULL [06:47:34.942] | ..$ port : int 37460 [06:47:34.942] | ..$ connectTimeout : num 120 [06:47:34.942] | ..$ timeout : num 120 [06:47:34.942] | ..$ rscript : NULL [06:47:34.942] | ..$ homogeneous : NULL [06:47:34.942] | ..$ rscript_args : NULL [06:47:34.942] | ..$ rscript_envs : NULL [06:47:34.942] | ..$ rscript_libs : NULL [06:47:34.942] | ..$ rscript_startup : NULL [06:47:34.942] | ..$ rscript_sh : chr "auto" [06:47:34.942] | ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [06:47:34.942] | ..$ methods : logi TRUE [06:47:34.942] | ..$ socketOptions : chr "no-delay" [06:47:34.942] | ..$ useXDR : logi FALSE [06:47:34.942] | ..$ outfile : chr "/dev/null" [06:47:34.942] | ..$ renice : int NA [06:47:34.942] | ..$ rshcmd : NULL [06:47:34.942] | ..$ user : NULL [06:47:34.942] | ..$ revtunnel : logi NA [06:47:34.942] | ..$ rshlogfile : NULL [06:47:34.942] | ..$ rshopts : NULL [06:47:34.942] | ..$ rank : int 1 [06:47:34.942] | ..$ manual : logi FALSE [06:47:34.942] | ..$ dryrun : logi FALSE [06:47:34.942] | ..$ quiet : logi FALSE [06:47:34.942] | ..$ setup_strategy : chr "parallel" [06:47:34.942] | ..$ calls : logi FALSE [06:47:34.942] | - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [06:47:34.982] | [local output] System call to launch all workers: [06:47:34.982] | [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=test-isLocalhostNode.R:17720:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382686c69.pid\")),silent=TRUE)" -e "options(socketOptions=\"no-delay\")" -e "workRSOCK<-tryCatch(parallel:::.workRSOCK,error=function(e)parallel:::.slaveRSOCK);workRSOCK()" MASTER=localhost PORT=37460 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [06:47:34.983] | [local output] Starting PSOCK main server [06:47:34.989] | [local output] Workers launched [06:47:34.989] | [local output] Waiting for workers to connect back ... [06:47:34.990] | : [local output] 0 workers out of 1 ready [06:47:35.264] | : [local output] 0 workers out of 1 ready [06:47:35.265] | : [local output] 1 workers out of 1 ready [06:47:35.265] | [local output] Waiting for workers to connect back ... done [06:47:35.266] | [local output] Launching of 1 workers completed [06:47:35.266] | [local output] Number of nodes in cluster: 1 [06:47:35.266] | [local output] Collecting session information from 1 workers [06:47:35.268] | : [local output] Worker #1 of 1 [06:47:35.268] | [local output] Collecting session information from 1 workers [06:47:35.268] [local output] makeClusterPSOCK() ... done > node <- cl[[1]] > print(node) RichSOCKnode of a socket cluster on local host 'localhost' with pid 17904 (R Under development (unstable) (2025-12-11 r89152 ucrt), x86_64-w64-mingw32) using socket connection #4 ('<-CRANwin3.fb05.statistik.uni-dortmund.de:37460') > res <- isLocalhostNode(node) > print(res) [1] TRUE > stopifnot(isTRUE(res)) > parallel::stopCluster(cl) > message("- isLocalhostNode.RichSOCKnode ... DONE") - isLocalhostNode.RichSOCKnode ... DONE > message("- isLocalhostNode.cluster ...") - isLocalhostNode.cluster ... > cl <- makeClusterPSOCK(2) [06:47:35.275] [local output] makeClusterPSOCK() ... [06:47:35.279] | [local output] Workers: [n = 2] 'localhost', 'localhost' [06:47:35.283] | [local output] Base port: 21697 [06:47:35.284] | [local output] Getting setup options for 2 cluster nodes ... [06:47:35.284] | [local output] Node #1 of 2 ... [06:47:35.285] | [local output] localMachine=TRUE => revtunnel=FALSE [06:47:35.287] | [local output] Rscript port: 21697 [06:47:35.288] | [local output] Node #2 of 2 ... [06:47:35.289] | [local output] localMachine=TRUE => revtunnel=FALSE [06:47:35.291] | [local output] Rscript port: 21697 [06:47:35.292] | [local output] Getting setup options for 2 cluster nodes ... done [06:47:35.292] | [local output] Parallel setup requested for some PSOCK nodes [06:47:35.293] | [local output] Setting up PSOCK nodes in parallel [06:47:35.293] | List of 36 [06:47:35.293] | $ worker : chr "localhost" [06:47:35.293] | ..- attr(*, "localhost")= logi TRUE [06:47:35.293] | $ master : chr "localhost" [06:47:35.293] | $ port : int 21697 [06:47:35.293] | $ connectTimeout : num 120 [06:47:35.293] | $ timeout : num 120 [06:47:35.293] | $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [06:47:35.293] | $ homogeneous : logi TRUE [06:47:35.293] | $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=test-isLocalhostNode.R:17720:CRA"| __truncated__ [06:47:35.293] | $ rscript_envs : NULL [06:47:35.293] | $ rscript_libs : NULL [06:47:35.293] | $ rscript_startup : NULL [06:47:35.293] | $ rscript_sh : chr [1:2] "cmd" "cmd" [06:47:35.293] | $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [06:47:35.293] | $ methods : logi TRUE [06:47:35.293] | $ socketOptions : chr "no-delay" [06:47:35.293] | $ useXDR : logi FALSE [06:47:35.293] | $ outfile : chr "/dev/null" [06:47:35.293] | $ renice : int NA [06:47:35.293] | $ rshcmd : NULL [06:47:35.293] | $ user : chr(0) [06:47:35.293] | $ revtunnel : logi FALSE [06:47:35.293] | $ rshlogfile : NULL [06:47:35.293] | $ rshopts : chr(0) [06:47:35.293] | $ rank : int 1 [06:47:35.293] | $ manual : logi FALSE [06:47:35.293] | $ dryrun : logi FALSE [06:47:35.293] | $ quiet : logi FALSE [06:47:35.293] | $ setup_strategy : chr "parallel" [06:47:35.293] | $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [06:47:35.293] | $ pidfile : chr "D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382d326798.pid" [06:47:35.293] | $ rshcmd_label : NULL [06:47:35.293] | $ rsh_call : NULL [06:47:35.293] | $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [06:47:35.293] | $ localMachine : logi TRUE [06:47:35.293] | $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [06:47:35.293] | master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [06:47:35.293] | 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [06:47:35.293] | 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [06:47:35.293] | rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [06:47:35.293] | "cmd", "sh", "none"), default_packages = c("datasets", "utils", [06:47:35.293] | "grDevices", "graphics", "stats", if (methods) "methods"), methods = TRUE, [06:47:35.293] | socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [06:47:35.293] | "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [06:47:35.293] | FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [06:47:35.293] | NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [06:47:35.293] | NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [06:47:35.293] | setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [06:47:35.293] | "parallel"), calls = getOption2("parallelly.makeNodePSOCK.calls", [06:47:35.293] | FALSE), action = c("launch", "options"), verbose = FALSE) [06:47:35.293] | $ arguments :List of 29 [06:47:35.293] | ..$ worker : chr "localhost" [06:47:35.293] | ..$ master : NULL [06:47:35.293] | ..$ port : int 21697 [06:47:35.293] | ..$ connectTimeout : num 120 [06:47:35.293] | ..$ timeout : num 120 [06:47:35.293] | ..$ rscript : NULL [06:47:35.293] | ..$ homogeneous : NULL [06:47:35.293] | ..$ rscript_args : NULL [06:47:35.293] | ..$ rscript_envs : NULL [06:47:35.293] | ..$ rscript_libs : NULL [06:47:35.293] | ..$ rscript_startup : NULL [06:47:35.293] | ..$ rscript_sh : chr "auto" [06:47:35.293] | ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [06:47:35.293] | ..$ methods : logi TRUE [06:47:35.293] | ..$ socketOptions : chr "no-delay" [06:47:35.293] | ..$ useXDR : logi FALSE [06:47:35.293] | ..$ outfile : chr "/dev/null" [06:47:35.293] | ..$ renice : int NA [06:47:35.293] | ..$ rshcmd : NULL [06:47:35.293] | ..$ user : NULL [06:47:35.293] | ..$ revtunnel : logi NA [06:47:35.293] | ..$ rshlogfile : NULL [06:47:35.293] | ..$ rshopts : NULL [06:47:35.293] | ..$ rank : int 1 [06:47:35.293] | ..$ manual : logi FALSE [06:47:35.293] | ..$ dryrun : logi FALSE [06:47:35.293] | ..$ quiet : logi FALSE [06:47:35.293] | ..$ setup_strategy : chr "parallel" [06:47:35.293] | ..$ calls : logi FALSE [06:47:35.293] | - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [06:47:35.338] | [local output] System call to launch all workers: [06:47:35.338] | [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=test-isLocalhostNode.R:17720:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382d326798.pid\")),silent=TRUE)" -e "options(socketOptions=\"no-delay\")" -e "workRSOCK<-tryCatch(parallel:::.workRSOCK,error=function(e)parallel:::.slaveRSOCK);workRSOCK()" MASTER=localhost PORT=21697 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [06:47:35.339] | [local output] Starting PSOCK main server [06:47:35.346] | [local output] Workers launched [06:47:35.347] | [local output] Waiting for workers to connect back ... [06:47:35.347] | : [local output] 0 workers out of 2 ready [06:47:35.576] | : [local output] 0 workers out of 2 ready [06:47:35.577] | : [local output] 1 workers out of 2 ready [06:47:35.612] | : [local output] 1 workers out of 2 ready [06:47:35.613] | : [local output] 2 workers out of 2 ready [06:47:35.613] | [local output] Waiting for workers to connect back ... done [06:47:35.614] | [local output] Launching of 2 workers completed [06:47:35.614] | [local output] Number of nodes in cluster: 2 [06:47:35.614] | [local output] Collecting session information from 2 workers [06:47:35.616] | : [local output] Worker #1 of 2 [06:47:35.617] | : [local output] Worker #2 of 2 [06:47:35.618] | [local output] Collecting session information from 2 workers [06:47:35.618] [local output] makeClusterPSOCK() ... done > print(cl) Socket cluster with 2 nodes on host 'localhost' (R Under development (unstable) (2025-12-11 r89152 ucrt), platform x86_64-w64-mingw32) > res <- isLocalhostNode(cl) > print(res) [1] TRUE TRUE > stopifnot(is.logical(res), length(res) == 2, all(res)) > parallel::stopCluster(cl) > message("- isLocalhostNode.cluster ... DONE") - isLocalhostNode.cluster ... DONE > if (supportsMulticore()) { + message("- isLocalhostNode.forknode ...") + cl <- parallel::makeForkCluster(1) + node <- cl[[1]] + prin .... [TRUNCATED] > message("- isLocalhostNode.SOCKnode ...") - isLocalhostNode.SOCKnode ... > cl <- parallel::makeCluster(1) > node <- cl[[1]] > print(node) node of a socket cluster on host 'localhost' with pid 31480 > res <- isLocalhostNode(node) > print(res) [1] TRUE > stopifnot(isTRUE(res)) > parallel::stopCluster(cl) > message("- isLocalhostNode.SOCKnode ... DONE") - isLocalhostNode.SOCKnode ... DONE > message("- isLocalhostNode.RichSOCKnode (no 'localhost' attr) ...") - isLocalhostNode.RichSOCKnode (no 'localhost' attr) ... > cl <- makeClusterPSOCK(1) [06:47:35.926] [local output] makeClusterPSOCK() ... [06:47:35.930] | [local output] Workers: [n = 1] 'localhost' [06:47:35.934] | [local output] Base port: 27851 [06:47:35.934] | [local output] Getting setup options for 1 cluster nodes ... [06:47:35.934] | [local output] Node #1 of 1 ... [06:47:35.935] | [local output] localMachine=TRUE => revtunnel=FALSE [06:47:35.937] | [local output] Rscript port: 27851 [06:47:35.938] | [local output] Getting setup options for 1 cluster nodes ... done [06:47:35.938] | [local output] Parallel setup requested for some PSOCK nodes [06:47:35.939] | [local output] Setting up PSOCK nodes in parallel [06:47:35.939] | List of 36 [06:47:35.939] | $ worker : chr "localhost" [06:47:35.939] | ..- attr(*, "localhost")= logi TRUE [06:47:35.939] | $ master : chr "localhost" [06:47:35.939] | $ port : int 27851 [06:47:35.939] | $ connectTimeout : num 120 [06:47:35.939] | $ timeout : num 120 [06:47:35.939] | $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [06:47:35.939] | $ homogeneous : logi TRUE [06:47:35.939] | $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=test-isLocalhostNode.R:17720:CRA"| __truncated__ [06:47:35.939] | $ rscript_envs : NULL [06:47:35.939] | $ rscript_libs : NULL [06:47:35.939] | $ rscript_startup : NULL [06:47:35.939] | $ rscript_sh : chr [1:2] "cmd" "cmd" [06:47:35.939] | $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [06:47:35.939] | $ methods : logi TRUE [06:47:35.939] | $ socketOptions : chr "no-delay" [06:47:35.939] | $ useXDR : logi FALSE [06:47:35.939] | $ outfile : chr "/dev/null" [06:47:35.939] | $ renice : int NA [06:47:35.939] | $ rshcmd : NULL [06:47:35.939] | $ user : chr(0) [06:47:35.939] | $ revtunnel : logi FALSE [06:47:35.939] | $ rshlogfile : NULL [06:47:35.939] | $ rshopts : chr(0) [06:47:35.939] | $ rank : int 1 [06:47:35.939] | $ manual : logi FALSE [06:47:35.939] | $ dryrun : logi FALSE [06:47:35.939] | $ quiet : logi FALSE [06:47:35.939] | $ setup_strategy : chr "parallel" [06:47:35.939] | $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [06:47:35.939] | $ pidfile : chr "D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382c51605f.pid" [06:47:35.939] | $ rshcmd_label : NULL [06:47:35.939] | $ rsh_call : NULL [06:47:35.939] | $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [06:47:35.939] | $ localMachine : logi TRUE [06:47:35.939] | $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [06:47:35.939] | master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [06:47:35.939] | 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [06:47:35.939] | 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [06:47:35.939] | rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [06:47:35.939] | "cmd", "sh", "none"), default_packages = c("datasets", "utils", [06:47:35.939] | "grDevices", "graphics", "stats", if (methods) "methods"), methods = TRUE, [06:47:35.939] | socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [06:47:35.939] | "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [06:47:35.939] | FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [06:47:35.939] | NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [06:47:35.939] | NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [06:47:35.939] | setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [06:47:35.939] | "parallel"), calls = getOption2("parallelly.makeNodePSOCK.calls", [06:47:35.939] | FALSE), action = c("launch", "options"), verbose = FALSE) [06:47:35.939] | $ arguments :List of 29 [06:47:35.939] | ..$ worker : chr "localhost" [06:47:35.939] | ..$ master : NULL [06:47:35.939] | ..$ port : int 27851 [06:47:35.939] | ..$ connectTimeout : num 120 [06:47:35.939] | ..$ timeout : num 120 [06:47:35.939] | ..$ rscript : NULL [06:47:35.939] | ..$ homogeneous : NULL [06:47:35.939] | ..$ rscript_args : NULL [06:47:35.939] | ..$ rscript_envs : NULL [06:47:35.939] | ..$ rscript_libs : NULL [06:47:35.939] | ..$ rscript_startup : NULL [06:47:35.939] | ..$ rscript_sh : chr "auto" [06:47:35.939] | ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [06:47:35.939] | ..$ methods : logi TRUE [06:47:35.939] | ..$ socketOptions : chr "no-delay" [06:47:35.939] | ..$ useXDR : logi FALSE [06:47:35.939] | ..$ outfile : chr "/dev/null" [06:47:35.939] | ..$ renice : int NA [06:47:35.939] | ..$ rshcmd : NULL [06:47:35.939] | ..$ user : NULL [06:47:35.939] | ..$ revtunnel : logi NA [06:47:35.939] | ..$ rshlogfile : NULL [06:47:35.939] | ..$ rshopts : NULL [06:47:35.939] | ..$ rank : int 1 [06:47:35.939] | ..$ manual : logi FALSE [06:47:35.939] | ..$ dryrun : logi FALSE [06:47:35.939] | ..$ quiet : logi FALSE [06:47:35.939] | ..$ setup_strategy : chr "parallel" [06:47:35.939] | ..$ calls : logi FALSE [06:47:35.939] | - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [06:47:35.970] | [local output] System call to launch all workers: [06:47:35.970] | [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=test-isLocalhostNode.R:17720:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/2025_12_12_06_35_17_6718/Rtmpy4asQk/worker.rank=1.parallelly.parent=17720.45382c51605f.pid\")),silent=TRUE)" -e "options(socketOptions=\"no-delay\")" -e "workRSOCK<-tryCatch(parallel:::.workRSOCK,error=function(e)parallel:::.slaveRSOCK);workRSOCK()" MASTER=localhost PORT=27851 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [06:47:35.970] | [local output] Starting PSOCK main server [06:47:35.977] | [local output] Workers launched [06:47:35.977] | [local output] Waiting for workers to connect back ... [06:47:35.978] | : [local output] 0 workers out of 1 ready [06:47:36.285] | : [local output] 0 workers out of 1 ready [06:47:36.286] | : [local output] 1 workers out of 1 ready [06:47:36.286] | [local output] Waiting for workers to connect back ... done [06:47:36.286] | [local output] Launching of 1 workers completed [06:47:36.286] | [local output] Number of nodes in cluster: 1 [06:47:36.286] | [local output] Collecting session information from 1 workers [06:47:36.288] | : [local output] Worker #1 of 1 [06:47:36.288] | [local output] Collecting session information from 1 workers [06:47:36.288] [local output] makeClusterPSOCK() ... done > node <- cl[[1]] > attr(node$host, "localhost") <- NULL > print(node) RichSOCKnode of a socket cluster on remote host 'localhost' with pid 27496 (R Under development (unstable) (2025-12-11 r89152 ucrt), x86_64-w64-mingw32) using socket connection #4 ('<-CRANwin3.fb05.statistik.uni-dortmund.de:27851') > res <- isLocalhostNode(node) > print(res) [1] TRUE > stopifnot(isTRUE(res)) > parallel::stopCluster(cl) > message("- isLocalhostNode.RichSOCKnode (no 'localhost' attr) ... DONE") - isLocalhostNode.RichSOCKnode (no 'localhost' attr) ... DONE > message("*** isLocalhostNode() ... DONE") *** isLocalhostNode() ... DONE Failed to undo environment variables: - Expected environment variables: [n=215] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CV_Instance001', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS44_HOME', 'RTOOLS45_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS45_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTME_NAME', 'R_TESTME_PACKAGE', 'R_TESTME_PATH', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TETRAD_DIR', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_ASPELL_RECHECK_MAYBE_', '_R_CHECK_CRAN_INCOMING_ASPELL_RECHECK_START_', '_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_', '_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_', '_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_', '_R_CHECK_CRAN_INCOMING_REMOTE_', '_R_CHECK_CRAN_INCOMING_USE_ASPELL_', '_R_CHECK_DATALIST_', '_R_CHECK_DEPRECATED_DEFUNCT_', '_R_CHECK_DOC_SIZES2_', '_R_CHECK_DOT_FIRSTLIB_', '_R_CHECK_DOT_INTERNAL_', '_R_CHECK_EXAMPLE_TIMING_THRESHOLD_', '_R_CHECK_EXECUTABLES_', '_R_CHECK_EXECUTABLES_EXCLUSIONS_', '_R_CHECK_FF_CALLS_', '_R_CHECK_FF_DUP_', '_R_CHECK_FORCE_SUGGESTS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_', '_R_CHECK_HAVE_MYSQL_', '_R_CHECK_HAVE_ODBC_', '_R_CHECK_HAVE_PERL_', '_R_CHECK_HAVE_POSTGRES_', '_R_CHECK_INSTALL_DEPENDS_', '_R_CHECK_INTERNALS2_', '_R_CHECK_LENGTH_1_CONDITION_', '_R_CHECK_LICENSE_', '_R_CHECK_LIMIT_CORES_', '_R_CHECK_LOG_USE_INFO_', '_R_CHECK_MATRIX_DATA_', '_R_CHECK_MBCS_CONVERSION_FAILURE_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_NOTE_LOST_BRACES_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_NOTE_MISSING_PACKAGE_ANCHORS_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_DEPRECATED_IS_R_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '_R_USE_STRICT_R_HEADERS_', '__R_CHECK_DOC_FILES_NOTE_IF_ALL_INTERNAL__', 'maj.version', 'nextArg--timingsnextArg--install', 'tempdirname' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: Test time: user.self=0.3s, sys.self=0.09s, elapsed=2s, user.child=NAs, sys.child=NAs Test 'tempdirname' ... success > > proc.time() user system elapsed 0.57 0.26 2.46