* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/ML2Pvae.Rcheck’ * using R Under development (unstable) (2024-04-24 r86483) * 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 ‘ML2Pvae/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ML2Pvae’ version ‘1.0.0.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 ‘ML2Pvae’ can be installed ... 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 ... NOTE Namespace in Imports field not imported from: ‘reticulate’ All declared Imports should be used. * 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 ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under ‘inst/doc’ ... 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 ‘ML2Pvae-Ex.R’ failed The error most likely occurred in: > ### Name: build_vae_correlated > ### Title: Build a VAE that fits to a normal, full covariance N(m,S) latent > ### distribution > ### Aliases: build_vae_correlated > > ### ** Examples > > ## No test: > Q <- matrix(c(1,0,1,1,0,1,1,0), nrow = 2, ncol = 4) > cov <- matrix(c(.7,.3,.3,1), nrow = 2, ncol = 2) > models <- build_vae_correlated(4, 2, Q, + mean_vector = c(-0.5, 0), covariance_matrix = cov, + enc_hid_arch = c(6, 3), hid_enc_activation = c('sigmoid', 'relu'), + output_activation = 'tanh', + kl_weight = 0.1) 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 ... 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, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/ML2Pvae.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:32.69, 26.30 + 6.22