using_python_venv | R Documentation |
Determine whether a Python virtual environment is being used
using_python_venv(env = NULL)
env |
Optional environment name to compare against |
A logical value
# Check if a Python virtual environment is being used
using_python_venv()
# Check if the 'dev' virtual environment is being used
using_python_venv(env = "dev")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.