* using log directory ‘/srv/hornik/tmp/CRAN_pretest/ONAM.Rcheck’ * using R Under development (unstable) (2025-10-19 r88945) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (7) Debian flang-new version 19.1.7 (7) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘ONAM/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ONAM’ version ‘0.0.0.9000’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘David Köhler ’ New submission Version contains large components (0.0.0.9000) Possibly misspelled words in DESCRIPTION: Orthogonalization (4:9) orthogonalization (11:9) visualizable (10:35) The BugReports field in DESCRIPTION has https://github.com/Koehlibert/ONAM which should likely be https://github.com/Koehlibert/ONAM/issues instead. * 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 serialization versions ... OK * checking whether package ‘ONAM’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... 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 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 ... [7s/7s] 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 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(ONAM) Loading required package: keras The keras package is deprecated. Use the keras3 package instead. Attaching package: 'ONAM' The following object is masked from 'package:stats': decompose > > test_check("ONAM") To use legacy Keras via py_require(), call py_require_legacy_keras() at the start of the R session. Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-onam.R:60:3'): Input checks work ─────────────────────────────── Error: Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /usr/bin/python3.13 Python exception encountered: Traceback (most recent call last): File "/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/reticulate/python/rpytools/loader.py", line 122, in _find_and_load_hook return _run_hook(name, _hook) File "/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/reticulate/python/rpytools/loader.py", line 96, in _run_hook module = hook() File "/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/reticulate/python/rpytools/loader.py", line 120, in _hook return _find_and_load(name, import_) ModuleNotFoundError: No module named 'tensorflow' You can install TensorFlow using the install_tensorflow() function. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-onam.R:60:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ONAM::onam(...) 8. │ └─ONAM:::create_model(...) 9. │ └─ONAM:::create_inputs(model_info, categorical_features, cat_counts) 10. │ └─base::lapply(...) 11. │ └─ONAM (local) FUN(X[[i]], ...) 12. │ └─base::lapply(...) 13. │ └─ONAM (local) FUN(X[[i]], ...) 14. │ └─keras::layer_input(shape = n_inputs) 15. │ ├─base::do.call(keras$layers$Input, args) 16. │ ├─keras$layers 17. │ └─reticulate:::`$.python.builtin.module`(keras, "layers") 18. │ └─reticulate::py_get_attr(x, name, TRUE) 19. └─reticulate (local) ``(``) 20. └─keras (local) on_error(result) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ] Error: Test failures Execution halted * checking PDF version of manual ... [3s/3s] 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, 1 NOTE