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()
#> The interface to all required Python modules 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.3.4_tskit-0.6.4_pyslim-1.0.4_tspop-0.0.2/bin/python
#> Python version: 3.12.10 | packaged by conda-forge | (main, Apr 10 2025, 22:19:24) [Clang 18.1.8 ]
#>
#> slendr requirements:
#> - tskit: version 0.6.4 ✓
#> - msprime: version 1.3.4 ✓
#> - pyslim: version 1.0.4 ✓
#> - tspop: present ✓