* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/quallmer.Rcheck’ * using R Under development (unstable) (2026-08-25 r90447) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-08-25 20:57:45 UTC * checking for file ‘quallmer/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘quallmer’ version ‘0.4.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 ‘quallmer’ can be installed ... 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 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 ... [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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘quallmer-Ex.R’ failed The error most likely occurred in: > ### Name: accessors > ### Title: Accessor functions for quallmer objects > ### Aliases: accessors > > ### ** Examples > > ## No test: > # Create a coded object > texts <- c("I love this!", "Terrible.", "It's okay.") > coded <- qlm_code( + texts, + data_codebook_sentiment, + model = "openai/gpt-4o-mini", + name = "run1", + notes = "Initial coding run" + ) Error in `openai_key()`: ! Can't find env var `OPENAI_API_KEY`. Backtrace: ▆ 1. └─quallmer::qlm_code(...) 2. ├─base::do.call(...) 3. └─ellmer (local) ``(chat = ``, prompts = ``, type = ``) 4. └─ellmer:::parallel_turns(...) 5. └─ellmer:::map(...) 6. └─base::lapply(.x, .f, ...) 7. └─ellmer (local) FUN(X[[i]], ...) 8. └─ellmer:::chat_request(...) 9. ├─S7::S7_dispatch() 10. └─ellmer (local) `method(chat_request, ellmer::Provider)`(...) 11. └─ellmer:::base_request(provider) 12. ├─S7::S7_dispatch() 13. └─ellmer (local) `method(base_request, ellmer::ProviderOpenAICompatible)`(provider = ``) 14. ├─ellmer:::ellmer_req_credentials(...) 15. └─provider@credentials() 16. └─ellmer:::openai_key() 17. └─ellmer:::key_get("OPENAI_API_KEY") 18. └─cli::cli_abort("Can't find env var {.code {name}}.", call = error_call) 19. └─rlang::abort(...) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [12s/12s] [12s/12s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... 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 * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-donttest/quallmer.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:56.20, 83.95 + 29.74