This function enables callers to check which versions of Python will be discovered on a system as well as which one will be chosen for use with reticulate.
py_discover_config(required_module = NULL, use_environment = NULL)
Python configuration object.
A optional module name that will be used to select the Python environment used.
An optional virtual/conda environment name to prefer in the search.
The order of discovery is documented in vignette("versions")
, also available online
here