init_env: Activate the Python environment of slendr

View source: R/python.R

init_envR Documentation

Activate the Python environment of slendr

Description

This function activates a dedicated slendr Python environment set up via setup_env, or creates an ephemeral Python environment with uv.

Usage

init_env(uv = FALSE, quiet = FALSE)

Arguments

uv

Should an ephemeral Python environment be created via uv (instead of activating a permanent virtual environment created via setup_env)?

quiet

Should informative messages be printed to the console? Default is FALSE.

Value

No return value, called for side effects


slendr documentation built on June 26, 2026, 5:11 p.m.