* using log directory ‘/srv/hornik/tmp/CRAN_pretest/laminr.Rcheck’ * using R Under development (unstable) (2025-03-10 r87916) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (1+b1) Debian flang-new version 19.1.7 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘laminr/DESCRIPTION’ ... OK * this is package ‘laminr’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/6s] 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 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 ‘laminr’ can be installed ... [4s/4s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [6s/6s] OK * checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(laminr) > > test_check("laminr") Using Python: /usr/bin/python3.13 Creating virtual environment 'laminr-test-20250310115149' ... + /usr/bin/python3.13 -m venv /tmp/check-CRAN-incoming-hornik/.virtualenvs/laminr-test-20250310115149 The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.13-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/check-CRAN-incoming-hornik/.virtualenvs/laminr-test-20250310115149/bin/python3.13 FAILED Error in `FUN()`: ! In path: "/srv/hornik/tmp/CRAN_pretest/laminr.Rcheck/tests/testthat/setup.R" Caused by error: ! Error creating virtual environment 'laminr-test-20250310115149' [error code 1] Backtrace: ▆ 1. ├─testthat::test_check("laminr") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─laminr::install_lamindb(envname = test_name, extra_packages = "bionty") at tests/testthat/setup.R:6:1 15. │ └─reticulate::py_install(...) 16. │ └─reticulate::virtualenv_install(...) 17. │ └─reticulate::virtualenv_create(...) 18. │ └─reticulate:::stopf(fmt, name, result) 19. │ └─base::stop(sprintf(fmt, ...), call. = call.) 20. └─base::.handleSimpleError(...) 21. └─testthat (local) h(simpleError(msg, call)) 22. └─rlang::abort(...) Warning messages: 1: In check_forbidden_install("Python packages") : cannot install Python packages during R CMD check 2: In check_forbidden_install("Python packages") : cannot install Python packages during R CMD check 3: In check_forbidden_install("Python Virtual Environments") : cannot install Python Virtual Environments during R CMD check Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s/2s] OK * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR