Hello, I am trying to submit a package to CRAN, but it failed the auto checks at win-builder.r-project.org with errors that I do not know how to fix. My package uses Tensorflow for R, which in turn requires a Python installation of Tensorflow. I am unsure of how to get R / reticulate to find the Python installations on other machines automatically. Here are the two error messages that I get:
*Debian*: Error: Installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /usr/bin/python3.8 You can install TensorFlow using the install_tensorflow() function. It seems best to avoid using the "install_tensorflow()" function, and I have followed the instructions at https://cran.r-project.org/web/packages/reticulate/vignettes/python_dependencies.html including making changes to the DESCRIPTION file and .onLoad function, but to no avail. *Windows*: Error in python_config(miniconda_python, NULL, miniconda_python) : Error 2 occurred running C:/Users/ligges/AppData/Local/r-miniconda/envs/r-reticulate/python.exe I am not familiar with reticulate, and do not know what "Error 2" refers to. This error occurs every time a test tries to use "tensorflow::" or "keras::". I would be very grateful if someone could help me solve this issue. Thank you! Geoff Converse [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel