* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/rTLsDeep.Rcheck’ * using R Under development (unstable) (2025-06-17 r88325) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘rTLsDeep/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘rTLsDeep’ version ‘0.0.5’ * package encoding: UTF-8 * 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 ‘rTLsDeep’ can be installed ... [27s/28s] OK * 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 code 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 whether startup messages can be suppressed ... 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 ... [37s/38s] OK * checking Rd files ... 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 ... [17s/18s] OK * checking examples with --run-donttest ... ERROR Running examples in ‘rTLsDeep-Ex.R’ failed The error most likely occurred in: > ### Name: confmatrix_treedamage > ### Title: Confusion matrix > ### Aliases: confmatrix_treedamage > > ### ** Examples > > ## No test: > # Set directory to tensorflow (python environment) > # This is required if running deep learning local computer with GPU > # Guide to install here: https://doi.org/10.5281/zenodo.3929709 > tensorflow_dir = NA > > # define model type > model_type = "simple" > #model_type = "vgg" > #model_type = "inception" > #model_type = "resnet" > #model_type = "densenet" > #model_type = "efficientnet" > > # Image and model properties > # path to image folders - black > train_image_files_path <- system.file('extdata', 'train', package='rTLsDeep') > test_image_files_path <- system.file('extdata', 'validation', package='rTLsDeep') > img_width <- 256 > img_height <- 256 > class_list_train = unique(list.files(train_image_files_path)) > class_list_test = unique(list.files(test_image_files_path)) > lr_rate = 0.00003 > target_size = c(img_width, img_height) > channels = 4 > batch_size = 8L > epochs = 4L > > # get model > model = get_dl_model(model_type=model_type, + img_width=img_width, + img_height=img_height, + channels=channels, + lr_rate = lr_rate, + tensorflow_dir = tensorflow_dir, + class_list = class_list_train) Error: Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /usr/bin/python3.12 Python exception encountered: Traceback (most recent call last): File "/data/blackswan/ripley/R/R-devel/site-library/reticulate/python/rpytools/loader.py", line 122, 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 96, in _run_hook module = hook() ^^^^^^ File "/data/blackswan/ripley/R/R-devel/site-library/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. Execution halted * 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 See ‘/data/blackswan/ripley/R/packages/tests-devel/rTLsDeep.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:02.42, 242.87 + 56.00