R Under development (unstable) (2026-01-16 r89305 ucrt) -- "Unsuffered Consequences" 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-misc.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > futurize:::testme("misc") Test 'misc' ... chr "none" > library(futurize) Loading required package: future > options(futurize.debug = TRUE) > message("futurize(NA):") futurize(NA): > res <- futurize(NA) [18:24:15.426] futurize() ... [18:24:15.428] | transpile() ... [18:24:15.428] | transpile() ... done [18:24:15.428] futurize() ... done > print(res) [1] TRUE > stopifnot(isTRUE(res)) > message("futurize(FALSE):") futurize(FALSE): > res <- futurize(FALSE) [18:24:15.429] futurize() ... [18:24:15.429] | transpile() ... [18:24:15.429] | transpile() ... done [18:24:15.429] futurize() ... done > print(res) [1] TRUE > stopifnot(isTRUE(res)) > message("futurize(TRUE):") futurize(TRUE): > res <- futurize(TRUE) [18:24:15.430] futurize() ... [18:24:15.430] | transpile() ... [18:24:15.430] | transpile() ... done [18:24:15.430] futurize() ... done > print(res) [1] FALSE > stopifnot(isFALSE(res)) > message("futurize(when = FALSE):") futurize(when = FALSE): > y_truth <- lapply(1:3, identity) > y <- futurize(lapply(1:3, identity), when = FALSE) [18:24:15.431] futurize() ... [18:24:15.431] | transpile() ... [18:24:15.431] | : Evaluate call expression [18:24:15.432] | transpile() ... done [18:24:15.432] futurize() ... done > stopifnot(identical(y, y_truth)) > y <- futurize(lapply(1:3, identity), when = TRUE) [18:24:15.432] futurize() ... [18:24:15.432] | transpile() ... [18:24:15.433] | : get_transpiler() ... [18:24:15.433] | : . Finding call to be transpiled ... [18:24:15.433] | : . | decend_wrappers() ... [18:24:15.433] | : . | : Call: [18:24:15.433] | : . | : lapply [18:24:15.434] | : . | : parse_call() ... [18:24:15.434] | : . | : . Function: lapply(...) [18:24:15.434] | : . | : . Locate function ... [18:24:15.435] | : . | : . | Function located in: 'base' [18:24:15.435] | : . | : . Locate function ... done [18:24:15.435] | : . | : parse_call() ... done [18:24:15.435] | : . | decend_wrappers() ... done [18:24:15.435] | : . | parse_call() ... [18:24:15.435] | : . | : Function: lapply(...) [18:24:15.436] | : . | : Locate function ... [18:24:15.436] | : . | : . Function located in: 'base' [18:24:15.436] | : . | : Locate function ... done [18:24:15.436] | : . | parse_call() ... done [18:24:15.436] | : . | Position of call to be transpiled in expression: c(1) [18:24:15.436] | : . | lapply [18:24:15.437] | : . Finding call to be transpiled ... done [18:24:15.437] | : . Locating 'futurize::add-on' transpiler for base::lapply() of class 'function' ... [18:24:15.437] | : . | transpilers_for_package(action = 'make', type = 'futurize::add-on') ... [18:24:15.437] | : . | : - package: 'base' [18:24:15.438] | : . | : $fcns [18:24:15.438] | : . | : $fcns[[1]] [18:24:15.438] | : . | : function () [18:24:15.438] | : . | : { [18:24:15.438] | : . | : append_transpilers("futurize::add-on", make_addon_transpilers("base", [18:24:15.438] | : . | : "future.apply", make_options = make_options_for_future.apply)) [18:24:15.438] | : . | : append_transpilers("futurize::add-on", make_addon_transpilers("stats", [18:24:15.438] | : . | : "future.apply", make_options = make_options_for_future.apply)) [18:24:15.438] | : . | : c("future.apply") [18:24:15.438] | : . | : } [18:24:15.438] | : . | : [18:24:15.438] | : . | : [18:24:15.438] | : . | : [18:24:15.438] | : . | : [18:24:15.445] | : . | transpilers_for_package(action = 'make', type = 'futurize::add-on') ... done [18:24:15.445] | : . | Required packages: [n=1] 'future.apply' [18:24:15.446] | : . | Namespaces registered with futurize(): 'base', 'stats' [18:24:15.446] | : . | Transpiler description: base::lapply() -> future.apply::future_lapply() [18:24:15.446] | : . | Transpiler function: [18:24:15.446] | : . | function (expr, options = NULL) [18:24:15.446] | : . | { [18:24:15.446] | : . | call <- make_call("future_lapply") [18:24:15.446] | : . | fcn <- eval(call) [18:24:15.446] | : . | expr[[1]] <- call [18:24:15.446] | : . | parts <- c(as.list(expr), (function (options, fcn) [18:24:15.446] | : . | { [18:24:15.446] | : . | if (length(options) == 0L) return(options) [18:24:15.446] | : . | if (is.null(defaults_base)) { [18:24:15.446] | : . | defaults_base <<- get_defaults(future.apply::future_lapply) [18:24:15.446] | : . | } [18:24:15.446] | : . | defaults <- c(defaults_base, get_defaults(fcn)) [18:24:15.446] | : . | keep <- !duplicated(names(defaults), fromLast = TRUE) [18:24:15.446] | : . | defaults <- defaults[keep] [18:24:15.446] | : . | specified <- attr(options, "specified") [18:24:15.446] | : . | if (length(specified) > 0) { [18:24:15.446] | : . | specified <- sub("^chunk_size$", "chunk.size", specified) [18:24:15.446] | : . | names(options) <- sub("^chunk_size$", "chunk.size", [18:24:15.446] | : . | names(options)) [18:24:15.446] | : . | } [18:24:15.446] | : . | specified <- sprintf("future.%s", specified) [18:24:15.446] | : . | names <- setdiff(names(defaults), specified) [18:24:15.446] | : . | names(options) <- sprintf("future.%s", names(options)) [18:24:15.446] | : . | for (name in names) options[[name]] <- defaults[[name]] [18:24:15.446] | : . | keep <- intersect(names(options), names(defaults)) [18:24:15.446] | : . | options <- options[keep] [18:24:15.446] | : . | options [18:24:15.446] | : . | })(options, fcn)) [18:24:15.446] | : . | expr <- as.call(parts) [18:24:15.446] | : . | expr [18:24:15.446] | : . | } [18:24:15.446] | : . | [18:24:15.447] | : . Locating 'futurize::add-on' transpiler for base::lapply() of class 'function' ... done [18:24:15.447] | : get_transpiler() ... done [18:24:15.447] | : Transpile call expression ... [18:24:15.448] | : . future.apply::future_lapply(1:3, identity, future.seed = FALSE, [18:24:15.448] | : . future.globals = TRUE, future.stdout = TRUE, future.conditions = "condition", [18:24:15.448] | : . future.scheduling = 1, future.label = "future_lapply-%d") [18:24:15.449] | : Transpile call expression ... done [18:24:15.449] | : Evaluate transpiled call expression [18:24:15.509] | transpile() ... done [18:24:15.509] futurize() ... done > stopifnot(identical(y, y_truth)) > expr <- futurize(lapply(1:3, identity), when = FALSE, + eval = FALSE) [18:24:15.510] futurize() ... [18:24:15.510] | transpile() ... [18:24:15.510] | : Return call expression [18:24:15.510] | transpile() ... done [18:24:15.510] futurize() ... done > print(expr) lapply(1:3, identity) > res <- tryCatch(futurize(base::pi), error = identity) [18:24:15.511] futurize() ... [18:24:15.511] | transpile() ... [18:24:15.511] | : get_transpiler() ... [18:24:15.512] | : . Finding call to be transpiled ... [18:24:15.512] | : . | decend_wrappers() ... [18:24:15.512] | : . | : Call: [18:24:15.512] | : . | : `::` [18:24:15.512] | : . | : parse_call() ... [18:24:15.513] | : . | : . Function: ::(...) [18:24:15.513] | : . | : . Locate function ... [18:24:15.513] | : . | : . | Function located in: 'base' [18:24:15.513] | : . | : . Locate function ... done [18:24:15.513] | : . | : parse_call() ... done [18:24:15.514] | : . | decend_wrappers() ... done [18:24:15.514] | : . | parse_call() ... [18:24:15.514] | : . | : Function: ::(...) [18:24:15.514] | : . | : Locate function ... [18:24:15.514] | : . | : . Function located in: 'base' [18:24:15.514] | : . | : Locate function ... done [18:24:15.515] | : . | parse_call() ... done [18:24:15.515] | : . | Position of call to be transpiled in expression: c(1) [18:24:15.515] | : . | `::` [18:24:15.515] | : . Finding call to be transpiled ... done [18:24:15.515] | : . Locating 'futurize::add-on' transpiler for base::::() of class 'function' ... [18:24:15.516] | : . | Namespaces registered with futurize(): 'base', 'stats' [18:24:15.516] | : . Locating 'futurize::add-on' transpiler for base::::() of class 'function' ... done [18:24:15.516] | : get_transpiler() ... done [18:24:15.516] | transpile() ... done > print(res) > stopifnot(inherits(res, "error")) > res <- tryCatch(futurize(quote(1 + 2)), error = identity) [18:24:15.517] | futurize() ... [18:24:15.517] | : transpile() ... [18:24:15.517] | : . get_transpiler() ... [18:24:15.517] | : . | Finding call to be transpiled ... [18:24:15.518] | : . | : decend_wrappers() ... [18:24:15.518] | : . | : . Call: [18:24:15.518] | : . | : . quote [18:24:15.518] | : . | : . parse_call() ... [18:24:15.518] | : . | : . | Function: quote(...) [18:24:15.519] | : . | : . | Locate function ... [18:24:15.519] | : . | : . | : Function located in: 'base' [18:24:15.519] | : . | : . | Locate function ... done [18:24:15.519] | : . | : . parse_call() ... done [18:24:15.519] | : . | : decend_wrappers() ... done [18:24:15.519] | : . | : parse_call() ... [18:24:15.520] | : . | : . Function: quote(...) [18:24:15.520] | : . | : . Locate function ... [18:24:15.520] | : . | : . | Function located in: 'base' [18:24:15.520] | : . | : . Locate function ... done [18:24:15.520] | : . | : parse_call() ... done [18:24:15.520] | : . | : Position of call to be transpiled in expression: c(1) [18:24:15.521] | : . | : quote [18:24:15.521] | : . | Finding call to be transpiled ... done [18:24:15.521] | : . | Locating 'futurize::add-on' transpiler for base::quote() of class 'function' ... [18:24:15.521] | : . | : Namespaces registered with futurize(): 'base', 'stats' [18:24:15.522] | : . | Locating 'futurize::add-on' transpiler for base::quote() of class 'function' ... done [18:24:15.522] | : . get_transpiler() ... done [18:24:15.522] | : transpile() ... done > print(res) > stopifnot(inherits(res, "error")) > res <- tryCatch(futurize(futurize:::unknown), error = identity) [18:24:15.522] | : futurize() ... [18:24:15.523] | : . transpile() ... [18:24:15.523] | : . | get_transpiler() ... [18:24:15.523] | : . | : Finding call to be transpiled ... [18:24:15.523] | : . | : . decend_wrappers() ... [18:24:15.523] | : . | : . | Call: [18:24:15.524] | : . | : . | `:::` [18:24:15.524] | : . | : . | parse_call() ... [18:24:15.524] | : . | : . | : Function: :::(...) [18:24:15.524] | : . | : . | : Locate function ... [18:24:15.524] | : . | : . | : . Function located in: 'base' [18:24:15.525] | : . | : . | : Locate function ... done [18:24:15.525] | : . | : . | parse_call() ... done [18:24:15.525] | : . | : . decend_wrappers() ... done [18:24:15.547] | : . | : . parse_call() ... [18:24:15.547] | : . | : . | Function: :::(...) [18:24:15.547] | : . | : . | Locate function ... [18:24:15.548] | : . | : . | : Function located in: 'base' [18:24:15.548] | : . | : . | Locate function ... done [18:24:15.548] | : . | : . parse_call() ... done [18:24:15.548] | : . | : . Position of call to be transpiled in expression: c(1) [18:24:15.548] | : . | : . `:::` [18:24:15.549] | : . | : Finding call to be transpiled ... done [18:24:15.549] | : . | : Locating 'futurize::add-on' transpiler for base:::::() of class 'function' ... [18:24:15.549] | : . | : . Namespaces registered with futurize(): 'base', 'stats' [18:24:15.549] | : . | : Locating 'futurize::add-on' transpiler for base:::::() of class 'function' ... done [18:24:15.549] | : . | get_transpiler() ... done [18:24:15.549] | : . transpile() ... done > print(res) > stopifnot(inherits(res, "error")) > res <- tryCatch(futurize(futurize:::`%unknown%`), + error = identity) [18:24:15.550] | : . futurize() ... [18:24:15.550] | : . | transpile() ... [18:24:15.550] | : . | : get_transpiler() ... [18:24:15.551] | : . | : . Finding call to be transpiled ... [18:24:15.551] | : . | : . | decend_wrappers() ... [18:24:15.551] | : . | : . | : Call: [18:24:15.551] | : . | : . | : `:::` [18:24:15.551] | : . | : . | : parse_call() ... [18:24:15.551] | : . | : . | : . Function: :::(...) [18:24:15.552] | : . | : . | : . Locate function ... [18:24:15.552] | : . | : . | : . | Function located in: 'base' [18:24:15.552] | : . | : . | : . Locate function ... done [18:24:15.552] | : . | : . | : parse_call() ... done [18:24:15.552] | : . | : . | decend_wrappers() ... done [18:24:15.552] | : . | : . | parse_call() ... [18:24:15.553] | : . | : . | : Function: :::(...) [18:24:15.553] | : . | : . | : Locate function ... [18:24:15.553] | : . | : . | : . Function located in: 'base' [18:24:15.553] | : . | : . | : Locate function ... done [18:24:15.553] | : . | : . | parse_call() ... done [18:24:15.553] | : . | : . | Position of call to be transpiled in expression: c(1) [18:24:15.553] | : . | : . | `:::` [18:24:15.554] | : . | : . Finding call to be transpiled ... done [18:24:15.554] | : . | : . Locating 'futurize::add-on' transpiler for base:::::() of class 'function' ... [18:24:15.554] | : . | : . | Namespaces registered with futurize(): 'base', 'stats' [18:24:15.554] | : . | : . Locating 'futurize::add-on' transpiler for base:::::() of class 'function' ... done [18:24:15.555] | : . | : get_transpiler() ... done [18:24:15.555] | : . | transpile() ... done > print(res) > stopifnot(inherits(res, "error")) > res <- tryCatch(futurize(futurize:::futurize_supported_packages()), + error = identity) [18:24:15.555] | : . | futurize() ... [18:24:15.556] | : . | : transpile() ... [18:24:15.556] | : . | : . get_transpiler() ... [18:24:15.556] | : . | : . | Finding call to be transpiled ... [18:24:15.556] | : . | : . | : decend_wrappers() ... [18:24:15.556] | : . | : . | : . Call: [18:24:15.556] | : . | : . | : . futurize:::futurize_supported_packages [18:24:15.557] | : . | : . | : . parse_call() ... [18:24:15.557] | : . | : . | : . parse_call() ... done [18:24:15.557] | : . | : . | : decend_wrappers() ... done [18:24:15.557] | : . | : . | Finding call to be transpiled ... done [18:24:15.557] | : . | : . get_transpiler() ... done [18:24:15.558] | : . | : transpile() ... done > print(res) > stopifnot(inherits(res, "error")) > res <- tryCatch(futurize(futurize:::import_future()), + error = identity) [18:24:15.558] | : . | : futurize() ... [18:24:15.558] | : . | : . transpile() ... [18:24:15.558] | : . | : . | get_transpiler() ... [18:24:15.559] | : . | : . | : Finding call to be transpiled ... [18:24:15.559] | : . | : . | : . decend_wrappers() ... [18:24:15.559] | : . | : . | : . | Call: [18:24:15.559] | : . | : . | : . | futurize:::import_future [18:24:15.559] | : . | : . | : . | parse_call() ... [18:24:15.560] | : . | : . | : . | parse_call() ... done [18:24:15.560] | : . | : . | : . decend_wrappers() ... done [18:24:15.560] | : . | : . | : Finding call to be transpiled ... done [18:24:15.560] | : . | : . | get_transpiler() ... done [18:24:15.560] | : . | : . transpile() ... done > print(res) > stopifnot(inherits(res, "error")) > message("*** Internals") *** Internals > options(futurize.debug = TRUE) > message("debug_indent()") debug_indent() > try(futurize:::debug_indent(delta = -1)) > message("decend_wrappers()") decend_wrappers() > try(futurize:::decend_wrappers(NULL, unwrap = list())) [1] 1 > try(futurize:::decend_wrappers(quote({ + lapply(x, f) + }), unwrap = list(`{`), debug = TRUE)) [18:24:15.561] | : . | : decend_wrappers() ... [18:24:15.562] | : . | : . Call: [18:24:15.562] | : . | : . `{` [18:24:15.562] | : . | : . parse_call() ... [18:24:15.562] | : . | : . | Function: {(...) [18:24:15.562] | : . | : . | Locate function ... [18:24:15.563] | : . | : . | : Function located in: 'base' [18:24:15.563] | : . | : . | Locate function ... done [18:24:15.563] | : . | : . parse_call() ... done [18:24:15.563] | : . | : . Wrapped in { ... } [18:24:15.563] | : . | : . decend_wrappers() ... [18:24:15.563] | : . | : . | Call: [18:24:15.563] | : . | : . | lapply [18:24:15.564] | : . | : . | parse_call() ... [18:24:15.564] | : . | : . | : Function: lapply(...) [18:24:15.564] | : . | : . | : Locate function ... [18:24:15.564] | : . | : . | : . Function located in: 'base' [18:24:15.564] | : . | : . | : Locate function ... done [18:24:15.565] | : . | : . | parse_call() ... done [18:24:15.565] | : . | : . decend_wrappers() ... done [18:24:15.565] | : . | : decend_wrappers() ... done [1] 2 1 > message(".onLoad()") .onLoad() > futurize:::.onLoad("futurize", "futurize") [18:24:15.567] | : . | : Futurize-specific environment variables: > message("register_all_transpilers()") register_all_transpilers() > futurize:::register_all_transpilers() > message("register_vignette_engine_during_build_only()") register_vignette_engine_during_build_only() > futurize:::register_vignette_engine_during_build_only("futurize") > Sys.setenv(R_CMD = "something") > futurize:::register_vignette_engine_during_build_only("futurize") > message("transpiler_packages()") transpiler_packages() > db <- futurize:::transpiler_packages() > print(db) class package 1 futurize::add-on base 2 futurize::add-on stats 3 futurize::add-on purrr 4 futurize::add-on crossmap 5 futurize::add-on foreach 6 futurize::add-on plyr 7 futurize::add-on BiocParallel 8 futurize::add-on boot 9 futurize::add-on mgcv 10 futurize::add-on caret 11 futurize::add-on glmnet 12 futurize::add-on lme4 13 futurize::add-on tm > if (requireNamespace("future.apply", quietly = TRUE)) { + y <- futurize(lapply(x, f), eval = FALSE) + db <- futurize:::transpiler_packages() .... [TRUNCATED] [18:24:15.571] | : . | : futurize() ... [18:24:15.572] | : . | : . transpile() ... [18:24:15.572] | : . | : . | get_transpiler() ... [18:24:15.572] | : . | : . | : Finding call to be transpiled ... [18:24:15.572] | : . | : . | : . decend_wrappers() ... [18:24:15.573] | : . | : . | : . | Call: [18:24:15.573] | : . | : . | : . | lapply [18:24:15.573] | : . | : . | : . | parse_call() ... [18:24:15.573] | : . | : . | : . | : Function: lapply(...) [18:24:15.573] | : . | : . | : . | : Locate function ... [18:24:15.574] | : . | : . | : . | : . Function located in: 'base' [18:24:15.574] | : . | : . | : . | : Locate function ... done [18:24:15.574] | : . | : . | : . | parse_call() ... done [18:24:15.574] | : . | : . | : . decend_wrappers() ... done [18:24:15.574] | : . | : . | : . parse_call() ... [18:24:15.575] | : . | : . | : . | Function: lapply(...) [18:24:15.575] | : . | : . | : . | Locate function ... [18:24:15.575] | : . | : . | : . | : Function located in: 'base' [18:24:15.575] | : . | : . | : . | Locate function ... done [18:24:15.575] | : . | : . | : . parse_call() ... done [18:24:15.576] | : . | : . | : . Position of call to be transpiled in expression: c(1) [18:24:15.576] | : . | : . | : . lapply [18:24:15.576] | : . | : . | : Finding call to be transpiled ... done [18:24:15.576] | : . | : . | : Locating 'futurize::add-on' transpiler for base::lapply() of class 'function' ... [18:24:15.576] | : . | : . | : . Namespaces registered with futurize(): 'base', 'stats' [18:24:15.577] | : . | : . | : . Transpiler description: base::lapply() -> future.apply::future_lapply() [18:24:15.577] | : . | : . | : . Transpiler function: [18:24:15.577] | : . | : . | : . function (expr, options = NULL) [18:24:15.577] | : . | : . | : . { [18:24:15.577] | : . | : . | : . call <- make_call("future_lapply") [18:24:15.577] | : . | : . | : . fcn <- eval(call) [18:24:15.577] | : . | : . | : . expr[[1]] <- call [18:24:15.577] | : . | : . | : . parts <- c(as.list(expr), (function (options, fcn) [18:24:15.577] | : . | : . | : . { [18:24:15.577] | : . | : . | : . if (length(options) == 0L) return(options) [18:24:15.577] | : . | : . | : . if (is.null(defaults_base)) { [18:24:15.577] | : . | : . | : . defaults_base <<- get_defaults(future.apply::future_lapply) [18:24:15.577] | : . | : . | : . } [18:24:15.577] | : . | : . | : . defaults <- c(defaults_base, get_defaults(fcn)) [18:24:15.577] | : . | : . | : . keep <- !duplicated(names(defaults), fromLast = TRUE) [18:24:15.577] | : . | : . | : . defaults <- defaults[keep] [18:24:15.577] | : . | : . | : . specified <- attr(options, "specified") [18:24:15.577] | : . | : . | : . if (length(specified) > 0) { [18:24:15.577] | : . | : . | : . specified <- sub("^chunk_size$", "chunk.size", specified) [18:24:15.577] | : . | : . | : . names(options) <- sub("^chunk_size$", "chunk.size", [18:24:15.577] | : . | : . | : . names(options)) [18:24:15.577] | : . | : . | : . } [18:24:15.577] | : . | : . | : . specified <- sprintf("future.%s", specified) [18:24:15.577] | : . | : . | : . names <- setdiff(names(defaults), specified) [18:24:15.577] | : . | : . | : . names(options) <- sprintf("future.%s", names(options)) [18:24:15.577] | : . | : . | : . for (name in names) options[[name]] <- defaults[[name]] [18:24:15.577] | : . | : . | : . keep <- intersect(names(options), names(defaults)) [18:24:15.577] | : . | : . | : . options <- options[keep] [18:24:15.577] | : . | : . | : . options [18:24:15.577] | : . | : . | : . })(options, fcn)) [18:24:15.577] | : . | : . | : . expr <- as.call(parts) [18:24:15.577] | : . | : . | : . expr [18:24:15.577] | : . | : . | : . } [18:24:15.577] | : . | : . | : . [18:24:15.578] | : . | : . | : Locating 'futurize::add-on' transpiler for base::lapply() of class 'function' ... done [18:24:15.578] | : . | : . | get_transpiler() ... done [18:24:15.578] | : . | : . | Transpile call expression ... [18:24:15.579] | : . | : . | : future.apply::future_lapply(x, f, future.seed = FALSE, future.globals = TRUE, [18:24:15.579] | : . | : . | : future.stdout = TRUE, future.conditions = "condition", future.scheduling = 1, [18:24:15.579] | : . | : . | : future.label = "future_lapply-%d") [18:24:15.579] | : . | : . | Transpile call expression ... done [18:24:15.580] | : . | : . | Return transpiled call expression [18:24:15.580] | : . | : . transpile() ... done [18:24:15.580] | : . | : futurize() ... done class package 1 futurize::add-on base 2 futurize::add-on stats 3 futurize::add-on purrr 4 futurize::add-on crossmap 5 futurize::add-on foreach 6 futurize::add-on plyr 7 futurize::add-on BiocParallel 8 futurize::add-on boot 9 futurize::add-on mgcv 10 futurize::add-on caret 11 futurize::add-on glmnet 12 futurize::add-on lme4 13 futurize::add-on tm class package 1 futurize::add-on base 2 futurize::add-on stats 3 futurize::add-on purrr 4 futurize::add-on crossmap 5 futurize::add-on foreach 6 futurize::add-on plyr 7 futurize::add-on BiocParallel 8 futurize::add-on boot 9 futurize::add-on mgcv 10 futurize::add-on caret 11 futurize::add-on glmnet 12 futurize::add-on lme4 13 futurize::add-on tm > message("make_options_for_makeClusterFuture()") make_options_for_makeClusterFuture() > opts <- futurize:::make_options_for_makeClusterFuture(options = list()) > str(opts) list() > opts <- futurize:::make_options_for_makeClusterFuture(options = list(), + defaults = list(packages = character(0), stdout = TRUE)) > str(opts) List of 2 $ packages: chr(0) $ stdout : logi TRUE > message("list_transpilers()") list_transpilers() > ts <- futurize:::list_transpilers(class = "non-existing") > str(ts) NULL > ts <- futurize:::list_transpilers(class = "futurize::add-on") > str(ts) 'data.frame': 26 obs. of 3 variables: $ type : chr "base" "base" "base" "base" ... $ fcn : chr "replicate" "lapply" "tapply" "kernapply" ... $ description: chr "base::replicate() -> future.apply::future_replicate()" "base::lapply() -> future.apply::future_lapply()" "base::tapply() -> future.apply::future_tapply()" "base::kernapply() -> future.apply::future_kernapply()" ... > ts <- futurize:::list_transpilers(pattern = ".*", + class = "futurize::add-on") > str(ts) 'data.frame': 26 obs. of 3 variables: $ type : chr "base" "base" "base" "base" ... $ fcn : chr "replicate" "lapply" "tapply" "kernapply" ... $ description: chr "base::replicate() -> future.apply::future_replicate()" "base::lapply() -> future.apply::future_lapply()" "base::tapply() -> future.apply::future_tapply()" "base::kernapply() -> future.apply::future_kernapply()" ... > if (requireNamespace("future.apply", quietly = TRUE)) { + y <- futurize(lapply(x, f), eval = FALSE) + ts <- futurize:::list_transpilers(patt .... [TRUNCATED] [18:24:15.616] | : . | : futurize() ... [18:24:15.616] | : . | : . transpile() ... [18:24:15.617] | : . | : . | get_transpiler() ... [18:24:15.617] | : . | : . | : Finding call to be transpiled ... [18:24:15.617] | : . | : . | : . decend_wrappers() ... [18:24:15.617] | : . | : . | : . | Call: [18:24:15.617] | : . | : . | : . | lapply [18:24:15.618] | : . | : . | : . | parse_call() ... [18:24:15.618] | : . | : . | : . | : Function: lapply(...) [18:24:15.618] | : . | : . | : . | : Locate function ... [18:24:15.618] | : . | : . | : . | : . Function located in: 'base' [18:24:15.618] | : . | : . | : . | : Locate function ... done [18:24:15.619] | : . | : . | : . | parse_call() ... done [18:24:15.619] | : . | : . | : . decend_wrappers() ... done [18:24:15.619] | : . | : . | : . parse_call() ... [18:24:15.619] | : . | : . | : . | Function: lapply(...) [18:24:15.619] | : . | : . | : . | Locate function ... [18:24:15.620] | : . | : . | : . | : Function located in: 'base' [18:24:15.620] | : . | : . | : . | Locate function ... done [18:24:15.620] | : . | : . | : . parse_call() ... done [18:24:15.620] | : . | : . | : . Position of call to be transpiled in expression: c(1) [18:24:15.620] | : . | : . | : . lapply [18:24:15.621] | : . | : . | : Finding call to be transpiled ... done [18:24:15.621] | : . | : . | : Locating 'futurize::add-on' transpiler for base::lapply() of class 'function' ... [18:24:15.621] | : . | : . | : . Namespaces registered with futurize(): 'base', 'stats' [18:24:15.621] | : . | : . | : . Transpiler description: base::lapply() -> future.apply::future_lapply() [18:24:15.622] | : . | : . | : . Transpiler function: [18:24:15.622] | : . | : . | : . function (expr, options = NULL) [18:24:15.622] | : . | : . | : . { [18:24:15.622] | : . | : . | : . call <- make_call("future_lapply") [18:24:15.622] | : . | : . | : . fcn <- eval(call) [18:24:15.622] | : . | : . | : . expr[[1]] <- call [18:24:15.622] | : . | : . | : . parts <- c(as.list(expr), (function (options, fcn) [18:24:15.622] | : . | : . | : . { [18:24:15.622] | : . | : . | : . if (length(options) == 0L) return(options) [18:24:15.622] | : . | : . | : . if (is.null(defaults_base)) { [18:24:15.622] | : . | : . | : . defaults_base <<- get_defaults(future.apply::future_lapply) [18:24:15.622] | : . | : . | : . } [18:24:15.622] | : . | : . | : . defaults <- c(defaults_base, get_defaults(fcn)) [18:24:15.622] | : . | : . | : . keep <- !duplicated(names(defaults), fromLast = TRUE) [18:24:15.622] | : . | : . | : . defaults <- defaults[keep] [18:24:15.622] | : . | : . | : . specified <- attr(options, "specified") [18:24:15.622] | : . | : . | : . if (length(specified) > 0) { [18:24:15.622] | : . | : . | : . specified <- sub("^chunk_size$", "chunk.size", specified) [18:24:15.622] | : . | : . | : . names(options) <- sub("^chunk_size$", "chunk.size", [18:24:15.622] | : . | : . | : . names(options)) [18:24:15.622] | : . | : . | : . } [18:24:15.622] | : . | : . | : . specified <- sprintf("future.%s", specified) [18:24:15.622] | : . | : . | : . names <- setdiff(names(defaults), specified) [18:24:15.622] | : . | : . | : . names(options) <- sprintf("future.%s", names(options)) [18:24:15.622] | : . | : . | : . for (name in names) options[[name]] <- defaults[[name]] [18:24:15.622] | : . | : . | : . keep <- intersect(names(options), names(defaults)) [18:24:15.622] | : . | : . | : . options <- options[keep] [18:24:15.622] | : . | : . | : . options [18:24:15.622] | : . | : . | : . })(options, fcn)) [18:24:15.622] | : . | : . | : . expr <- as.call(parts) [18:24:15.622] | : . | : . | : . expr [18:24:15.622] | : . | : . | : . } [18:24:15.622] | : . | : . | : . [18:24:15.622] | : . | : . | : Locating 'futurize::add-on' transpiler for base::lapply() of class 'function' ... done [18:24:15.623] | : . | : . | get_transpiler() ... done [18:24:15.623] | : . | : . | Transpile call expression ... [18:24:15.623] | : . | : . | : future.apply::future_lapply(x, f, future.seed = FALSE, future.globals = TRUE, [18:24:15.623] | : . | : . | : future.stdout = TRUE, future.conditions = "condition", future.scheduling = 1, [18:24:15.623] | : . | : . | : future.label = "future_lapply-%d") [18:24:15.624] | : . | : . | Transpile call expression ... done [18:24:15.624] | : . | : . | Return transpiled call expression [18:24:15.625] | : . | : . transpile() ... done [18:24:15.625] | : . | : futurize() ... done 'data.frame': 26 obs. of 3 variables: $ type : chr "base" "base" "base" "base" ... $ fcn : chr "replicate" "lapply" "tapply" "kernapply" ... $ description: chr "base::replicate() -> future.apply::future_replicate()" "base::lapply() -> future.apply::future_lapply()" "base::tapply() -> future.apply::future_tapply()" "base::kernapply() -> future.apply::future_kernapply()" ... > message("transpilers_for_package()") transpilers_for_package() > ts <- futurize:::transpilers_for_package(type = "unknown", + package = "base", fcn = lapply, debug = TRUE) [18:24:15.640] | : . | : transpilers_for_package(action = 'add', type = 'unknown') ... [18:24:15.640] | : . | : . - package: 'base' [18:24:15.640] | : . | : transpilers_for_package(action = 'add', type = 'unknown') ... done > str(ts) NULL > ts <- futurize:::transpilers_for_package(type = "unknown", + package = "base", fcn = lapply, action = "get", debug = TRUE) [18:24:15.641] | : . | : transpilers_for_package(action = 'get', type = 'unknown') ... [18:24:15.641] | : . | : . - package: 'base' [18:24:15.641] | : . | : . - package: 'base' [18:24:15.641] | : . | : transpilers_for_package(action = 'get', type = 'unknown') ... done > str(ts) List of 1 $ :function (X, FUN, ...) > ts <- futurize:::transpilers_for_package(type = "unknown", + package = "base", fcn = lapply, action = "list", debug = TRUE) [18:24:15.642] | : . | : transpilers_for_package(action = 'list', type = 'unknown') ... [18:24:15.643] | : . | : transpilers_for_package(action = 'list', type = 'unknown') ... done > str(ts) List of 2 $ futurize::add-on:List of 13 ..$ base :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ stats :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ purrr :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ crossmap :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ foreach :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ plyr :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ BiocParallel:List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ boot :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ mgcv :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ caret :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ glmnet :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ lme4 :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () ..$ tm :List of 3 .. ..$ :function () .. ..$ :function () .. ..$ :function () $ unknown :List of 1 ..$ base:List of 1 .. ..$ :function (X, FUN, ...) > ts <- futurize:::transpilers_for_package(type = "unknown", + package = "base", fcn = lapply, action = "reset", debug = TRUE) [18:24:15.663] | : . | : transpilers_for_package(action = 'reset', type = 'unknown') ... [18:24:15.663] | : . | : transpilers_for_package(action = 'reset', type = 'unknown') ... done > str(ts) List of 1 $ base:List of 1 ..$ :function (X, FUN, ...) > res <- tryCatch(futurize:::transpilers_for_package(type = "unknown", + package = "unknown", action = "make", debug = TRUE), error = identity) [18:24:15.664] | : . | : transpilers_for_package(action = 'make', type = 'unknown') ... [18:24:15.665] | : . | : . - package: 'unknown' [18:24:15.665] | : . | : . $fcns [18:24:15.665] | : . | : . NULL [18:24:15.665] | : . | : . [18:24:15.665] | : . | : transpilers_for_package(action = 'make', type = 'unknown') ... done > str(res) List of 2 $ message: chr "There are no factory functions for creating 'unknown' transpilers for package 'unknown'" $ call : language futurize:::transpilers_for_package(type = "unknown", package = "unknown", action = "make", debug = TRUE) - attr(*, "class")= chr [1:3] "simpleError" "error" "condition" Failed to undo environment variables: - Expected environment variables: [n=217] '!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_BIBENTRIES_CITED_NOT_SHOWN_', '_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_RELATIVE_PATHS_', '_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: Skipping, because path appears not to be an 'R CMD check' folder: 'D:/temp/2026_01_18_18_20_17_191' Test time: user.self=0.4s, sys.self=0.02s, elapsed=0.4s, user.child=NAs, sys.child=NAs Test 'misc' ... success > > proc.time() user system elapsed 0.62 0.09 0.71