- using R Under development (unstable) (2026-04-22 r89950)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)
flang version 22.1.4 (https://github.com/llvm/llvm-project 35990504507d79e0b9deb809c8ee5e1b34ceef20)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-04-23 09:09:27 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘future.batchtools/DESCRIPTION’ ... OK
- this is package ‘future.batchtools’ version ‘0.21.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘future.batchtools’ can be installed ... [10s/16s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [20s/33s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... INFO
Undeclared package ‘rappdirs’ in Rd xrefs
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/10s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [322s/365s] ERROR
Running ‘test-BatchtoolsFuture,gc.R’ [8s/11s]
Running ‘test-BatchtoolsFuture.R’ [9s/13s]
Running ‘test-BatchtoolsFutureError.R’ [10s/12s]
Running ‘test-batchtools_bash.R’
Running ‘test-batchtools_custom.R’ [17s/24s]
Running ‘test-batchtools_hpc.R’
Running ‘test-batchtools_interactive.R’
Running ‘test-batchtools_local.R’ [14s/15s]
Running ‘test-batchtools_multicore.R’
Running ‘test-batchtools_ssh.R’
Running ‘test-batchtools_template.R’
Running ‘test-demo.R’ [12s/14s]
Running ‘test-dotdotdot.R’ [15s/20s]
Running ‘test-future,labels.R’ [12s/13s]
Running ‘test-future,lazy.R’
Running ‘test-globals,formulas.R’ [31s/34s]
Running ‘test-globals,manual.R’ [13s/13s]
Running ‘test-globals,subassignment.R’ [21s/23s]
Running ‘test-globals,tricky.R’ [27s/28s]
Running ‘test-nbrOfWorkers.R’
Running ‘test-plan.R’
Running ‘test-resources_OP.R’
Running ‘test-rng.R’ [26s/28s]
Running ‘test-stdout.R’ [18s/19s]
Running ‘test-utils.R’
Running ‘test-zzz,future_lapply.R’ [46s/50s]
Running ‘test-zzz.onUnload.R’
Running the tests in ‘tests/test-globals,manual.R’ failed.
Complete output:
> ## This runs testme test script inst/testme/test-globals,manual.R
> ## Don't edit - it was autogenerated by inst/testme/deploy.R
> future.batchtools:::testme("globals,manual")
Test 'globals,manual' ...
Sourcing 9 prologue scripts ...
01/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/001.load.R'
02/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/002.record-state.R'
03/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/030.imports.R'
04/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/050.utils.R'
05/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/090.context.R'
06/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/090.options.R'
07/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/091.envvars.R'
08/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/099.future-setup.R'
09/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/_prologue/995.detrius-connections.R'
Sourcing 9 prologue scripts ... done
Running test script: '/data/gannet/ripley/R/packages/tests-clang/future.batchtools.Rcheck/future.batchtools/testme/test-globals,manual.R'
> library(future)
> plan(future.batchtools::batchtools_local)
> message("*** Globals - manually ...")
*** Globals - manually ...
> message("*** Globals manually specified as named list ...")
*** Globals manually specified as named list ...
> globals <- list(a = 1, b = 2, sumtwo = function(x) x[1] +
+ x[2])
> attach_locally(globals)
> v0 <- local({
+ x <- 1:10
+ sumtwo(a + b * x)
+ })
> message("*** Globals - automatic ...")
*** Globals - automatic ...
> attach_locally(globals)
> f <- future({
+ x <- 1:10
+ sumtwo(a + b * x)
+ }, globals = TRUE)
> rm(list = names(globals))
> y <- value(f)
> print(y)
[1] 8
> stopifnot(all.equal(y, v0))
> attach_locally(globals)
> y %<-% {
+ x <- 1:10
+ sumtwo(a + b * x)
+ } %globals% TRUE
> rm(list = names(globals))
> print(y)
[1] 8
> stopifnot(all.equal(y, v0))
> y %<-% {
+ 1
+ } %globals% FALSE
> print(y)
[1] 1
> stopifnot(identical(y, 1))
> attach_locally(globals)
> f <- future({
+ x <- 1:10
+ sumtwo(a + b * x)
+ }, globals = FALSE)
> rm(list = names(globals))
> y <- tryCatch(value(f), error = identity)
Warning in delete.BatchtoolsFuture(future) :
Will not remove batchtools registry, because the status of the batchtools was 'error', 'defined', 'finished', 'started', 'submitted' and future backend argument 'delete' is 'on-success': '/tmp/RtmphkF0WX/working_dir/RtmpnbrLA8/.future/20260423_101433-nbrLA8/batchtools_1641249398'
> if (!inherits(f, c("SequentialFuture", "MulticoreFuture"))) {
+ stopifnot(inherits(y, "simpleError"))
+ }
Error: inherits(y, "simpleError") is not TRUE
Execution halted
Warning in delete.BatchtoolsFuture(f, onRunning = "skip", onMissing = "ignore", :
Will not remove batchtools registry, because the status of the batchtools was 'error', 'defined', 'finished', 'started', 'submitted' and future backend argument 'delete' is 'on-success': '/tmp/RtmphkF0WX/working_dir/RtmpnbrLA8/.future/20260423_101433-nbrLA8/batchtools_1641249398'
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... OK
- checking PDF version of manual ... [9s/10s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR