Determine whether Conda environment is being used
Arguments
- env
Optional environment name to compare against
Examples
# Check if Conda is being used (regardless of environment name)
using_conda()
#> [1] FALSE
# Check if the 'dev' Conda environment is being used
using_conda(env = "dev")
#> [1] FALSE