* using log directory 'd:/RCompile/CRANincoming/R-devel/JuliaConnectoR.Rcheck' * using R Under development (unstable) (2026-01-07 r89288 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'JuliaConnectoR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'JuliaConnectoR' version '1.1.5' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'JuliaConnectoR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * 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 examples ... [13s] ERROR Running examples in 'JuliaConnectoR-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: as.data.frame.JuliaProxy > ### Title: Coerce a Julia Table to a Data Frame > ### Aliases: as.data.frame.JuliaProxy > > ### ** Examples > > ## Don't show: > if (juliaSetupOk() && Sys.getenv("NOT_CRAN") == "true") { + Pkg <- juliaImport("Pkg") + if (juliaEval('VERSION < v"1.6"')) { + subproject <- "1_0" + } else if (juliaEval('VERSION < v"1.10"')) { + subproject <- "1_6" + } else { + subproject <- "1_10" + } + Pkg$activate(system.file("examples", "IndexedTables-Project", subproject, + package = "JuliaConnectoR")) + Pkg$instantiate() + # ignore warnings on Julia 1.0: + capture.output(juliaImport("IndexedTables"), type = "message") + } Starting Julia ... > ## End(Don't show) > if (juliaSetupOk() && Sys.getenv("NOT_CRAN") == "true") { + # (This example is not run on CRAN as it takes a little too long.) + + # Demonstrate the usage with the Julia package "IndexedTables" (v1.0) + + # Install the package first if it is not installed: + # juliaEval('import Pkg; Pkg.add("IndexedTables")') + + # Import "IndexedTables" package + IndexedTables <- juliaImport("IndexedTables") + + mydf <- data.frame(x = c(1, 2, 3), + y = c("a", "b", "c"), + z = c(TRUE, FALSE, NA), + stringsAsFactors = FALSE) + + # Create a table in Julia, e. g. via IndexedTables + mytbl <- IndexedTables$table(mydf) + + # This table can, e g. be queried and + # the result can be translated to an R data frame. + seltbl <- IndexedTables$select(mytbl, juliaExpr("(:x, :y)"))[1:2] + + # Translate selection of Julia table into R data frame + as.data.frame(seltbl) + + } > > ## Don't show: > if (juliaSetupOk() && Sys.getenv("NOT_CRAN") == "true") { + rm(mytbl, seltbl) + JuliaConnectoR:::stopJulia() + } > ## End(Don't show) > > > > base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv") > base::cat("as.data.frame.JuliaProxy", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t") > cleanEx() Error: connections left open: ->localhost:11980 (sockconn) Execution halted Examples with CPU (user + system) or elapsed time > 10s user system elapsed as.data.frame.JuliaProxy 0 0.03 12.42 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [118s] ERROR Running 'testthat.R' [118s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(JuliaConnectoR) > library(utils) > > if (juliaSetupOk()) { + test_check("JuliaConnectoR") + } else if (Sys.getenv("GITHUB_ACTIONS") == "true") { + stop("Julia setup on GitHub Actions is not OK") + } Starting Julia ... [1] "Starting tests with Julia version 1.11.3" Connecting to Julia TCP server at localhost:11980 ... Saving _problems/test-1396.R [ FAIL 1 | WARN 0 | SKIP 6 | PASS 521 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test.R:78:4', 'test.R:1078:4', 'test.R:1117:4', 'test.R:1369:4', 'test.R:1481:4', 'test.R:1521:4' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test.R:1396:4'): Attempt to translate Julia Table with incompatible types results in proper error ── Error: Evaluation in Julia failed. Original Julia error message: LoadError: ArgumentError: Package IndexedTables not found in current path. - Run `import Pkg; Pkg.add("IndexedTables")` to install the IndexedTables package. Stacktrace: [1] macro expansion @ .\loading.jl:2296 [inlined] [2] macro expansion @ .\lock.jl:273 [inlined] [3] __require(into::Module, mod::Symbol) @ Base .\loading.jl:2271 [4] #invoke_in_world#3 @ .\essentials.jl:1089 [inlined] [5] invoke_in_world @ .\essentials.jl:1086 [inlined] [6] require(into::Module, mod::Symbol) @ Base .\loading.jl:2260 [7] eval @ .\boot.jl:430 [inlined] [8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) @ Base .\loading.jl:2734 [9] include_string (repeats 2 times) @ .\loading.jl:2744 [inlined] [10] mainevalcmd(str::String) @ Main.RConnector D:\RCompile\CRANincoming\R-devel\lib\JuliaConnectoR\Julia\evaluating.jl:150 [11] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{}) @ Base .\essentials.jl:1055 [12] invokelatest(::Any, ::Any, ::Vararg{Any}) @ Base .\essentials.jl:1052 [13] evaluate! @ D:\RCompile\CRANincoming\R-devel\lib\JuliaConnectoR\Julia\evaluating.jl:67 [inlined] [14] evaluate_checked!(call::Main.RConnector.Call, communicator::Main.RConnector.CommunicatoR{Sockets.TCPSocket}) @ Main.RConnector D:\RCompile\CRANincoming\R-devel\lib\JuliaConnectoR\Julia\evaluating.jl:55 [15] serve_repl(sock::Sockets.TCPSocket) @ Main.RConnector D:\RCompile\CRANincoming\R-devel\lib\JuliaConnectoR\Julia\communicating.jl:185 [16] serve(port_hint::Int64; multiclient::Bool, portfile::String) @ Main.RConnector D:\RCompile\CRANincoming\R-devel\lib\JuliaConnectoR\Julia\communicating.jl:152 [17] top-level scope @ D:\RCompile\CRANincoming\R-devel\lib\JuliaConnectoR\Julia\main.jl:23 [18] include(mod::Module, _path::String) @ Base .\Base.jl:557 [19] exec_options(opts::Base.JLOptions) @ Base .\client.jl:323 [20] _start() @ Base .\client.jl:531 in expression starting at string:1 Backtrace: ▆ 1. └─JuliaConnectoR::juliaEval("import IndexedTables") at test.R:1396:4 2. └─JuliaConnectoR::juliaCall("RConnector.mainevalcmd", expr) 3. ├─base::tryCatch(...) 4. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 7. └─JuliaConnectoR:::doCallJulia(funName, jlargs) 8. └─JuliaConnectoR:::handleCallbacksAndOutput() [ FAIL 1 | WARN 0 | SKIP 6 | PASS 521 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs