* using log directory ‘/srv/hornik/tmp/CRAN_pretest/SLmetrics.Rcheck’ * using R Under development (unstable) (2025-02-08 r87709) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.6 (1+b1) Debian flang-new version 19.1.6 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘SLmetrics/DESCRIPTION’ ... OK * this is package ‘SLmetrics’ version ‘0.4-0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/7s] NOTE Maintainer: ‘Serkan Korkmaz ’ New submission Found the following (possibly) invalid URLs: URL: https://r-pkg.org/pkg/SLmetrics From: README.md Status: 500 Message: Internal Server Error * 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 ‘SLmetrics’ can be installed ... [107s/107s] OK * used C++ compiler: ‘Debian clang version 19.1.7 (1+b1)’ * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking whether startup messages can be suppressed ... [0s/0s] 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 ... [3s/3s] OK * checking Rd files ... [1s/1s] 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 R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... 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 ... [5s/3s] ERROR Running ‘testthat.R’ [5s/3s] 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(SLmetrics) Loading {SLmetrics} v0.4.0 > > test_check("SLmetrics") Using Python: /usr/bin/python3.13 Creating virtual environment '/tmp/check-CRAN-incoming-hornik/.virtualenvs/r-reticulate' ... + /usr/bin/python3.13 -m venv /tmp/check-CRAN-incoming-hornik/.virtualenvs/r-reticulate 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/r-reticulate/bin/python3.13 FAILED Error in `FUN()`: ! In path: "/srv/hornik/tmp/CRAN_pretest/SLmetrics.Rcheck/tests/testthat/setup.R" Caused by error: ! Error creating virtual environment '/tmp/check-CRAN-incoming-hornik/.virtualenvs/r-reticulate' [error code 1] Backtrace: ▆ 1. ├─testthat::test_check("SLmetrics") 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() at tests/testthat/setup.R:25:3 15. │ └─reticulate:::stopf(fmt, name, result) 16. │ └─base::stop(sprintf(fmt, ...), call. = call.) 17. └─base::.handleSimpleError(...) 18. └─testthat (local) h(simpleError(msg, call)) 19. └─rlang::abort(...) Warning message: 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 ... [28s/5s] NOTE Re-building vignettes had CPU time 5.7 times elapsed time * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [3s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs