Running ‘testthat.R’ [4s/6s]
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-devel-gcc/Work/PKGS/causalOT.Rcheck/tests/testthat/setup.R"
  Caused by error in `.make_numeric_version()`:
  ! invalid non-character version specification 'x' (type: double)
  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:::can_be_virtualenv_starter(python)
   17. │                             ├─base::ifelse(version < 3, py2_modules, py3_modules)
   18. │                             └─base::Ops.numeric_version(version, 3)
   19. │                               └─base::as.numeric_version(e2)
   20. │                                 └─base::numeric_version(x)
   21. │                                   └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
   22. │                                     └─base::stop(msg, domain = NA)
   23. └─base::.handleSimpleError(...)
   24.   └─testthat (local) h(simpleError(msg, call))
   25.     └─rlang::abort(...)
  Warning message:
  In check_forbidden_install("Python Virtual Environments") :
    cannot install Python Virtual Environments during R CMD check
  Execution halted