* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/lang.Rcheck’ * using R Under development (unstable) (2025-11-17 r89032) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘lang/DESCRIPTION’ ... OK * this is package ‘lang’ version ‘0.1.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 ‘lang’ can be installed ... OK * 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 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 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 ... [10s/10s] 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 ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘lang-Ex.R’ failed The error most likely occurred in: > ### Name: lang_help > ### Title: Translates help documentation to another language > ### Aliases: lang_help > > ### ** Examples > > ## No test: > library(lang) > > lang_use("ollama", "llama3.2", seed = 100) ℹ The `LANG` and `LANGUAGE` variables have different values. Will use value of `LANGUAGE`: "en" This message will only appear once during your session Model: llama3.2 via Ollama Lang: en > > lang_help("lang_help", lang = "spanish", type = "text") Error: ! in callr subprocess. Caused by error in `httr2::req_perform(req)`: ! Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Couldn't connect to server [127.0.0.1]: Failed to connect to 127.0.0.1 port 11434 after 0 ms: Couldn't connect to server --- Backtrace: 1. lang::lang_help("lang_help", lang = "spanish", type = "text") 2. lang:::rd_translate(rd_content, lang) 3. lang:::rd_prep_translate(rd_i, lang, rs) 4. rs$run(function(x, y, z) { … 5. callr:::rs_run(self, private, func, args, package) 6. callr:::throw(res$error) --- Subprocess backtrace: 1. mall::llm_vec_translate(x = x, language = y, additional_prompt = z) 2. mall:::m_vec_prompt(x = x, prompt_label = "translate", additional_prompt = additi… 3. mall::m_backend_submit(backend = backend, x = x, prompt = prompt, preview = prev… 4. mall:::m_backend_submit.mall_ollama(backend = backend, x = x, prompt = prompt, … 5. local map_here(x, function(x) { … 6. mall:::.rlang_purrr_map_mold(.x, .f, character(1), ...) 7. base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 8. local FUN(X[[i]], ...) 9. rlang::exec("chat", !!!.args) 10. ollamar::chat(messages = list(list(role = structure("user", class = c("glue", … 11. base::tryCatch({ … 12. base::tryCatchList(expr, classes, parentenv, handlers) 13. base::tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. value[[3L]](cond) 15. base::stop(e) 16. global (function (e) … Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [256s/272s] [256s/273s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/lang.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:52.56, 297.92 + 35.09