check_and_install: Function to check python environment and install necessary...

View source: R/zzz.R

check_and_installR Documentation

Function to check python environment and install necessary packages

Description

If you encounter problems with installing the required python modules please make sure, that a correct python version is configured using py_discover_config and change the python version if required. Internally uses keras::install_keras.

Usage

check_and_install(force = FALSE, engine)

Arguments

force

if TRUE, forces the installations

engine

character; check if tf(= tensorflow) or torch is available

Value

Function that checks if a Python environment is available and contains TensorFlow. If not the recommended version is installed.


deepregression documentation built on Sept. 9, 2025, 5:27 p.m.