* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/survivalmodels.Rcheck’ * using R Under development (unstable) (2023-01-27 r83711) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) GNU Fortran (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) * running under: Fedora 34 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘survivalmodels/DESCRIPTION’ ... OK * this is package ‘survivalmodels’ version ‘0.1.13’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘distr6’ * 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 ‘survivalmodels’ can be installed ... [13s/13s] OK * used C++ compiler: ‘g++ (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2)’ * checking package 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... NOTE Unknown package ‘distr6’ in Rd xrefs * 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 line endings in C/C++/Fortran sources/headers ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘survivalmodels-Ex.R’ failed The error most likely occurred in: > ### Name: build_keras_net > ### Title: Build a Keras Multilayer Perceptron > ### Aliases: build_keras_net > > ### ** Examples > > ## No test: > if (requireNamespaces("keras")) { + build_keras_net(4L, 2L) + + build_keras_net(n_in = 4L, n_out = 2L, nodes = c(32L, 64L, 32L), + activation = "elu", dropout = 0.4) + } Error: Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /usr/bin/python3.9 /usr/bin/python3.9 /usr/bin/python3.9 Python exception encountered: Traceback (most recent call last): File "/data/blackswan/ripley/R/R-devel/site-library/reticulate/python/rpytools/loader.py", line 119, in _find_and_load_hook return _run_hook(name, _hook) File "/data/blackswan/ripley/R/R-devel/site-library/reticulate/python/rpytools/loader.py", line 93, in _run_hook module = hook() File "/data/blackswan/ripley/R/R-devel/site-library/reticulate/python/rpytools/loader.py", line 117, in _hook return _find_and_load(name, import_) ModuleNotFoundError: No module named 'tensorflow' You can install TensorFlow using the install_tensorflow() function. Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 2 NOTEs See ‘/data/blackswan/ripley/R/packages/tests-devel/survivalmodels.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:47.32, 41.13 + 15.01