############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R/bin/R CMD build --keep-empty-dirs --no-resave-data NeuCA ### ############################################################################## ############################################################################## * checking for file ‘NeuCA/DESCRIPTION’ ... OK * preparing ‘NeuCA’: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes * creating vignettes ... ERROR --- re-building ‘NeuCA.Rmd’ using rmarkdown Quitting from NeuCA.Rmd:75-80 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /home/biocbuild/.local/share/uv/python/cpython-3.11.11-linux-aarch64-gnu/bin/python3.11 Python exception encountered: Traceback (most recent call last): File "/home/biocbuild/R/R-4.4.3/site-library/reticulate/python/rpytools/loader.py", line 122, in _find_and_load_hook return _run_hook(name, _hook) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/biocbuild/R/R-4.4.3/site-library/reticulate/python/rpytools/loader.py", line 96, in _run_hook module = hook() ^^^^^^ File "/home/biocbuild/R/R-4.4.3/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. --- Backtrace: ▆ 1. ├─NeuCA::NeuCA(...) 2. │ └─NeuCA:::BigNN(...) 3. │ └─... %>% ... 4. ├─generics::compile(...) 5. ├─keras::layer_dense(., units = nClass, activation = last_act) 6. │ ├─keras::create_layer(...) 7. │ ├─keras$layers 8. │ └─reticulate:::`$.python.builtin.module`(keras, "layers") 9. │ └─reticulate::py_get_attr(x, name, TRUE) 10. └─reticulate (local) ``(``) 11. └─keras (local) on_error(result) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'NeuCA.Rmd' failed with diagnostics: Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /home/biocbuild/.local/share/uv/python/cpython-3.11.11-linux-aarch64-gnu/bin/python3.11 Python exception encountered: Traceback (most recent call last): File "/home/biocbuild/R/R-4.4.3/site-library/reticulate/python/rpytools/loader.py", line 122, in _find_and_load_hook return _run_hook(name, _hook) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/biocbuild/R/R-4.4.3/site-library/reticulate/python/rpytools/loader.py", line 96, in _run_hook module = hook() ^^^^^^ File "/home/biocbuild/R/R-4.4.3/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. --- failed re-building ‘NeuCA.Rmd’ SUMMARY: processing the following file failed: ‘NeuCA.Rmd’ Error: Vignette re-building failed. Execution halted