This function inspects the Python environment which has been activated by the reticulate package and prints the versions of all slendr Python dependencies to the console.
Value
Either TRUE (slendr Python environment is present) or FALSE
(slendr Python environment is not present).
Examples
init_env()
#> Python virtual environment for slendr has been activated.
check_env()
#> Summary of the currently active Python environment:
#>
#> Python binary: /Users/mp/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.4.1_tskit-1.0.2_pyslim-1.1.1_tspop-0.0.2/bin/python
#> Python version: 3.12.13 | packaged by conda-forge | (main, Mar 5 2026, 17:06:14) [Clang 19.1.7 ]
#>
#> slendr requirements:
#> - tskit: version 1.0.2 ✓
#> - msprime: version 1.4.1 ✓
#> - pyslim: version 1.1.1 ✓
#> - tspop: present ✓
