* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/tfprobability.Rcheck’ * using R Under development (unstable) (2024-04-15 r86425) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7) GNU Fortran (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7) * running under: Fedora Linux 38 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘tfprobability/DESCRIPTION’ ... OK * this is package ‘tfprobability’ version ‘0.15.1’ * 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 ‘tfprobability’ can be installed ... [19s/20s] OK * checking package directory ... 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 ... 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 ... [20s/21s] OK * checking Rd files ... NOTE checkRd: (-1) tfd_von_mises_fisher.Rd:63: Lost braces; missing escapes or markup? 63 | NOTE: Currently only n in {2, 3, 4, 5} are supported. For n=5 some numerical | ^ * 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘tfprobability-Ex.R’ failed The error most likely occurred in: > ### Name: layer_independent_normal > ### Title: An independent Normal Keras layer. > ### Aliases: layer_independent_normal > > ### ** Examples > > ## No test: > library(keras) > input_shape <- c(28, 28, 1) > encoded_shape <- 2 > n <- 2 > model <- keras_model_sequential( + list( + layer_input(shape = input_shape), + layer_flatten(), + layer_dense(units = n), + layer_dense(units = params_size_independent_normal(encoded_shape)), + layer_independent_normal(event_shape = encoded_shape) + ) + ) Error: Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /usr/bin/python3.11 /usr/bin/python3.11 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 for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [15s/16s] OK * checking PDF version of manual ... [55s/57s] 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, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/tfprobability.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:35.28, 188.27 + 15.81