if (FALSE) {
condathis::with_sandbox_dir({
# Create the environment
condathis::create_env(
packages = "fastqc",
env_name = "fastqc-env"
)
# Check if the environment exists
condathis::env_exists("fastqc-env")
#> [1] TRUE
# Check for a non-existent environment
condathis::env_exists("non-existent-env")
#> [1] FALSE
})
}
Run the code above in your browser using DataLab