Running ‘testthat.R’ [6s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(causalOT)
  > 
  > test_check("causalOT")
  Error in `FUN()`:
  ! In path: "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/causalOT.Rcheck/tests/testthat/setup.R"
  Caused by error in `stop_no_virtualenv_starter()`:
  ! Suitable Python installation for creating a venv not found.
    Requested Python: /usr/bin/python3.12
  Please install Python with one of following methods:
  - https://github.com/rstudio/python-builds/
  - reticulate::install_python(version = '<version>')
  Backtrace:
       ▆
    1. ├─testthat::test_check("causalOT")
    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. │                       └─reticulate::virtualenv_create(envname = rkeops_pyenv) at tests/testthat/setup.R:11:7
   15. │                         └─reticulate:::check_can_be_virtualenv_starter(python, version)
   16. │                           └─reticulate:::stop_no_virtualenv_starter(version = version, python = python)
   17. │                             └─base::stop(paste0(.msg, collapse = "\n"))
   18. └─base::.handleSimpleError(...)
   19.   └─testthat (local) h(simpleError(msg, call))
   20.     └─rlang::abort(...)
  Warning message:
  In check_forbidden_install("Python Virtual Environments") :
    cannot install Python Virtual Environments during R CMD check
  Execution halted