[R-pkg-devel] Automatic check errors

Geoff Converse conver@eg @end|ng |rom gm@||@com
Tue Sep 29 18:06:27 CEST 2020


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. Here are the two errors I get:


Error: Installation of TensorFlow not found.
Python environments searched for 'tensorflow' package:
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
including making changes to the DESCRIPTION file and .onLoad function, but
to no avail.


Error in python_config(miniconda_python, NULL, miniconda_python) :
  Error 2 occurred running

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

Thank you!
Geoff Converse

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list