R version 4.6.0 RC (2026-04-22 r89945 ucrt) -- "Because it was There" Copyright (C) 2026 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-stdout.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > future.batchtools:::testme("stdout") Test 'stdout' ... chr "none" > library(future) > message("*** Standard output ...") *** Standard output ... > truth_rows <- utils::capture.output({ + print(1:20) + str(1:20) + cat(letters, sep = "-") + cat(1:6, collapse = "\n") + write.ta .... [TRUNCATED] > truth <- paste0(paste(truth_rows, collapse = "\n"), + "\n") > print(truth) [1] " [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20\n int [1:20] 1 2 3 4 5 6 7 8 9 10 ...\na-b-c-d-e-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z1 2 3 4 5 6 \n\"Sepal.Length\"\t\"Sepal.Width\"\t\"Petal.Length\"\t\"Petal.Width\"\t\"Species\"\n\"1\"\t5.1\t3.5\t1.4\t0.2\t\"setosa\"\n\"2\"\t4.9\t3\t1.4\t0.2\t\"setosa\"\n\"3\"\t4.7\t3.2\t1.3\t0.2\t\"setosa\"\n\"4\"\t4.6\t3.1\t1.5\t0.2\t\"setosa\"\n\"5\"\t5\t3.6\t1.4\t0.2\t\"setosa\"\n\"6\"\t5.4\t3.9\t1.7\t0.4\t\"setosa\"\n\"7\"\t4.6\t3.4\t1.4\t0.3\t\"setosa\"\n\"8\"\t5\t3.4\t1.5\t0.2\t\"setosa\"\n\"9\"\t4.4\t2.9\t1.4\t0.2\t\"setosa\"\n\"10\"\t4.9\t3.1\t1.5\t0.1\t\"setosa\"\n" > message("batchtools_local ...") batchtools_local ... > plan(future.batchtools::batchtools_local) > for (stdout in c(TRUE, FALSE, NA)) { + message(sprintf("- stdout = %s", stdout)) + f <- future({ + print(1:20) + str(1:20) + .... [TRUNCATED] - stdout = TRUE List of 18 $ value : int 42 $ visible : logi TRUE $ stdout : chr " [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20\n int [1:20] 1 2 3 4 5 6 7 8 9 10 ...\na-b-c-d"| __truncated__ $ conditions : list() $ rng : logi FALSE $ seed : int [1:626] 10403 624 249509342 1951951047 283443804 719163309 593811082 1294913155 -42269208 1085833929 ... $ misuseGlobalEnv : NULL $ misuseConnections :List of 3 ..$ added : NULL ..$ removed : NULL ..$ replaced: NULL $ misuseDevices : NULL $ misuseDefaultDevice: list() $ started : POSIXct[1:1], format: "2026-04-25 00:53:01" $ finished : POSIXct[1:1], format: "2026-04-25 00:53:01" $ uuid : chr [1:2] "0e6707a327570998d5b922fc4613c5e0" "1" $ session_uuid : chr "2152b2ba4ccdc351dcd68ab5c4c9c6d6" ..- attr(*, "source")=List of 5 .. ..$ host : Named chr "CRANWIN3" .. .. ..- attr(*, "names")= chr "COMPUTERNAME" .. ..$ info : Named chr [1:9] "Windows" "Server x64" "build 20348" "CRANWIN3" ... .. .. ..- attr(*, "names")= chr [1:9] "sysname" "release" "version" "nodename" ... .. ..$ pid : int 44996 .. ..$ time : POSIXct[1:1], format: "2026-04-25 00:53:01" .. ..$ random: int 2147483647 $ r_info :List of 4 ..$ version :Classes 'R_system_version', 'package_version', 'numeric_version' hidden list of 1 .. ..$ : int [1:3] 4 6 0 ..$ os : chr "windows" ..$ os_name : chr "Windows" ..$ captures_utf8: logi TRUE $ version : chr "1.8" $ batchtools_log : chr [1:10] "### [bt]: This is batchtools v0.9.18" "### [bt]: Starting calculation of 1 jobs" "### [bt]: Setting working directory to 'D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests'" "Loading required package: methods" ... $ PROTOTYPE_WARNING : chr "WARNING: The fields 'batchtools_log' should be considered internal and experimental for now, that is, until the"| __truncated__ - attr(*, "class")= chr "FutureResult" [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 int [1:20] 1 2 3 4 5 6 7 8 9 10 ... a-b-c-d-e-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z1 2 3 4 5 6 "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species" "1" 5.1 3.5 1.4 0.2 "setosa" "2" 4.9 3 1.4 0.2 "setosa" "3" 4.7 3.2 1.3 0.2 "setosa" "4" 4.6 3.1 1.5 0.2 "setosa" "5" 5 3.6 1.4 0.2 "setosa" "6" 5.4 3.9 1.7 0.4 "setosa" "7" 4.6 3.4 1.4 0.3 "setosa" "8" 5 3.4 1.5 0.2 "setosa" "9" 4.4 2.9 1.4 0.2 "setosa" "10" 4.9 3.1 1.5 0.1 "setosa" FutureResult: value: 'integer' visible: TRUE stdout: character conditions: [n = 0] RNG used: FALSE duration: 0.06329417 secs (started 2026-04-25 00:53:01.896381) version: 1.8 [1] " [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20" [2] " int [1:20] 1 2 3 4 5 6 7 8 9 10 ..." [3] "a-b-c-d-e-f-g-h-i-j-k-l-m-n-o-p-q-r-s-t-u-v-w-x-y-z1 2 3 4 5 6 " [4] "\"Sepal.Length\"\t\"Sepal.Width\"\t\"Petal.Length\"\t\"Petal.Width\"\t\"Species\"" [5] "\"1\"\t5.1\t3.5\t1.4\t0.2\t\"setosa\"" [6] "\"2\"\t4.9\t3\t1.4\t0.2\t\"setosa\"" [7] "\"3\"\t4.7\t3.2\t1.3\t0.2\t\"setosa\"" [8] "\"4\"\t4.6\t3.1\t1.5\t0.2\t\"setosa\"" [9] "\"5\"\t5\t3.6\t1.4\t0.2\t\"setosa\"" [10] "\"6\"\t5.4\t3.9\t1.7\t0.4\t\"setosa\"" [11] "\"7\"\t4.6\t3.4\t1.4\t0.3\t\"setosa\"" [12] "\"8\"\t5\t3.4\t1.5\t0.2\t\"setosa\"" [13] "\"9\"\t4.4\t2.9\t1.4\t0.2\t\"setosa\"" [14] "\"10\"\t4.9\t3.1\t1.5\t0.1\t\"setosa\"" - stdout = FALSE List of 18 $ value : int 42 $ visible : logi TRUE $ stdout : NULL $ conditions : list() $ rng : logi FALSE $ seed : int [1:626] 10403 624 463620880 -1445598255 -921144482 -1177671609 1785256924 1694382893 63155210 -1619573245 ... $ misuseGlobalEnv : NULL $ misuseConnections :List of 3 ..$ added : NULL ..$ removed : NULL ..$ replaced: NULL $ misuseDevices : NULL $ misuseDefaultDevice: list() $ started : POSIXct[1:1], format: "2026-04-25 00:53:03" $ finished : POSIXct[1:1], format: "2026-04-25 00:53:03" $ uuid : chr [1:2] "0e6707a327570998d5b922fc4613c5e0" "3" $ session_uuid : chr "524dd7f9769825a5d1a5f7067d842fd5" ..- attr(*, "source")=List of 5 .. ..$ host : Named chr "CRANWIN3" .. .. ..- attr(*, "names")= chr "COMPUTERNAME" .. ..$ info : Named chr [1:9] "Windows" "Server x64" "build 20348" "CRANWIN3" ... .. .. ..- attr(*, "names")= chr [1:9] "sysname" "release" "version" "nodename" ... .. ..$ pid : int 51524 .. ..$ time : POSIXct[1:1], format: "2026-04-25 00:53:03" .. ..$ random: int 2147483647 $ r_info :List of 4 ..$ version :Classes 'R_system_version', 'package_version', 'numeric_version' hidden list of 1 .. ..$ : int [1:3] 4 6 0 ..$ os : chr "windows" ..$ os_name : chr "Windows" ..$ captures_utf8: logi TRUE $ version : chr "1.8" $ batchtools_log : chr [1:10] "### [bt]: This is batchtools v0.9.18" "### [bt]: Starting calculation of 1 jobs" "### [bt]: Setting working directory to 'D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests'" "Loading required package: methods" ... $ PROTOTYPE_WARNING : chr "WARNING: The fields 'batchtools_log' should be considered internal and experimental for now, that is, until the"| __truncated__ - attr(*, "class")= chr "FutureResult" - stdout = NA List of 18 $ value : int 42 $ visible : logi TRUE $ stdout : NULL $ conditions : list() $ rng : logi FALSE $ seed : int [1:626] 10403 624 481984728 -88333063 2072199270 -758792273 -1832558044 -265327915 691690898 1477400555 ... $ misuseGlobalEnv : NULL $ misuseConnections :List of 3 ..$ added : NULL ..$ removed : NULL ..$ replaced: NULL $ misuseDevices : NULL $ misuseDefaultDevice: list() $ started : POSIXct[1:1], format: "2026-04-25 00:53:05" $ finished : POSIXct[1:1], format: "2026-04-25 00:53:05" $ uuid : chr [1:2] "0e6707a327570998d5b922fc4613c5e0" "5" $ session_uuid : chr "3b204c3d6adea524f7e0aa2324c7fd42" ..- attr(*, "source")=List of 5 .. ..$ host : Named chr "CRANWIN3" .. .. ..- attr(*, "names")= chr "COMPUTERNAME" .. ..$ info : Named chr [1:9] "Windows" "Server x64" "build 20348" "CRANWIN3" ... .. .. ..- attr(*, "names")= chr [1:9] "sysname" "release" "version" "nodename" ... .. ..$ pid : int 30580 .. ..$ time : POSIXct[1:1], format: "2026-04-25 00:53:05" .. ..$ random: int 2147483647 $ r_info :List of 4 ..$ version :Classes 'R_system_version', 'package_version', 'numeric_version' hidden list of 1 .. ..$ : int [1:3] 4 6 0 ..$ os : chr "windows" ..$ os_name : chr "Windows" ..$ captures_utf8: logi TRUE $ version : chr "1.8" $ batchtools_log : chr [1:24] "### [bt]: This is batchtools v0.9.18" "### [bt]: Starting calculation of 1 jobs" "### [bt]: Setting working directory to 'D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests'" "Loading required package: methods" ... $ PROTOTYPE_WARNING : chr "WARNING: The fields 'batchtools_log' should be considered internal and experimental for now, that is, until the"| __truncated__ - attr(*, "class")= chr "FutureResult" > message("batchtools_local ... DONE") batchtools_local ... DONE > message("*** Standard output ... DONE") *** Standard output ... DONE Failed to undo environment variables: - Expected environment variables: [n=220] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', ..., 'tempdirname' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: Skipping, because path appears not to be an 'R CMD check' folder: 'D:/temp/2026_04_25_00_50_17_18966' Test time: user.self=1s, sys.self=0.2s, elapsed=6s, user.child=NAs, sys.child=NAs Test 'tempdirname' ... success > > proc.time() user system elapsed 1.67 0.45 7.03