- using R Under development (unstable) (2023-11-28 r85644)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘JuliaConnectoR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘JuliaConnectoR’ version ‘1.1.2’
- 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 ‘JuliaConnectoR’ can be installed ... [4s/15s] OK
See the install log for details.
- checking package 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 R 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 ... [8s/31s] 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 ... [1s/122s] ERROR
Running examples in ‘JuliaConnectoR-Ex.R’ failed
The error most likely occurred in:
> ### Name: juliaEval
> ### Title: Evaluate a Julia expression
> ### Aliases: juliaEval
>
> ### ** Examples
>
> if (juliaSetupOk()) {
+
+ juliaEval("1 + 2")
+ juliaEval('using Pkg; Pkg.add("BoltzmannMachines")')
+ juliaEval('using Random; Random.seed!(5);')
+
+ }
Starting Julia ...
Error in readLines(con = portfile, n = 1L, ok = FALSE, encoding = "UTF-8") :
too few lines read in readLines
Calls: juliaEval ... startJulia -> juliaConnection -> runJuliaServer -> readLines
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [0m/16m] ERROR
Running ‘testthat.R’ [0m/15m]
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")
+ }
Activating project at `~/R/packages/tests-devel/JuliaConnectoR.Rcheck/JuliaConnectoR/examples/IndexedTables-Project/1_6`
┌ Warning: The active manifest file is an older format with no julia version entry. Dependencies may have been resolved with a different julia version.
└ @ nothing /data/gannet/ripley/R/packages/tests-devel/JuliaConnectoR.Rcheck/JuliaConnectoR/examples/IndexedTables-Project/1_6/Manifest.toml:0
Installed IndexedTables ────── v1.0.1
Installed Parsers ──────────── v2.8.0
Installed PooledArrays ─────── v1.4.3
Installed OrderedCollections ─ v1.6.3
Installed Tables ───────────── v1.11.1
Installed PrecompileTools ──── v1.2.0
Installed Preferences ──────── v1.4.1
Installed ChainRulesCore ───── v1.18.0
Installed WeakRefStrings ───── v1.4.2
Installed StatsAPI ─────────── v1.7.0
Installed Compat ───────────── v4.10.0
Installed InverseFunctions ─── v0.1.12
Installed LogExpFunctions ──── v0.3.26
Installed DataStructures ───── v0.18.15
Installed ChangesOfVariables ─ v0.1.8
Installed SortingAlgorithms ── v1.2.0
Installed StatsBase ────────── v0.34.2
Precompiling project...
✓ InverseFunctions
✓ PooledArrays
✓ StatsAPI
✓ OrderedCollections
✓ Preferences
✓ Compat
✓ PrecompileTools
✓ ChangesOfVariables
✓ Tables
✓ ChainRulesCore
✓ StructArrays
✓ DataStructures
✓ SortingAlgorithms
✓ LogExpFunctions
✓ StatsBase
✓ OnlineStatsBase
✓ Parsers
✓ InlineStrings
✓ WeakRefStrings
✓ IndexedTables
20 dependencies successfully precompiled in 60 seconds (12 already precompiled)
2 dependencies precompiled but different versions are currently loaded. Restart julia to access the new versions
[ FAIL 3 | WARN 0 | SKIP 4 | PASS 504 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test.R:74:4', 'test.R:1074:4', 'test.R:1451:4', 'test.R:1492:4'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test.R:1011:4'): Starting and stopping Julia server ─────────────────
Error in `runJuliaServer(port, multiclient = TRUE)`: Timeout while waiting for response from Julia server
Backtrace:
▆
1. └─JuliaConnectoR::startJuliaServer() at test.R:1011:4
2. └─JuliaConnectoR:::runJuliaServer(port, multiclient = TRUE)
── Error ('test.R:1050:33'): Julia startup options can be modified ─────────────
Error in `runJuliaServer(multiclient = FALSE)`: Timeout while waiting for response from Julia server
Backtrace:
▆
1. ├─testthat::expect_match(...) at test.R:1050:4
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─utils::capture.output(...)
5. │ └─base::withVisible(...elt(i))
6. └─JuliaConnectoR::juliaEval("import Pkg; Pkg.status()") at test.R:1050:33
7. └─JuliaConnectoR:::ensureJuliaConnection()
8. └─JuliaConnectoR:::startJulia()
9. └─JuliaConnectoR:::juliaConnection()
10. └─JuliaConnectoR:::runJuliaServer(multiclient = FALSE)
── Error ('test.R:1108:4'): Error if Julia is not setup properly ───────────────
Error in `runJuliaServer(multiclient = FALSE)`: Timeout while waiting for response from Julia server
Backtrace:
▆
1. ├─testthat::expect_equal(1, juliaEval("1")) at test.R:1108:4
2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─JuliaConnectoR::juliaEval("1")
5. └─JuliaConnectoR:::ensureJuliaConnection()
6. └─JuliaConnectoR:::startJulia()
7. └─JuliaConnectoR:::juliaConnection()
8. └─JuliaConnectoR:::runJuliaServer(multiclient = FALSE)
[ FAIL 3 | WARN 0 | SKIP 4 | PASS 504 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [10s/19s] 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: 2 ERRORs