Check that the active Python environment is setup for slendrSource:
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.
Should a log message be printed? If
FALSE, only a logical value is returned (invisibly).
TRUE (slendr Python environment is present) or
(slendr Python environment is not present).
check_dependencies(python = TRUE, quit = TRUE) # dependencies must be present 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.11_msprime-1.2.0_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/bin/python #> Python version: 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:37:07) [Clang 15.0.7 ] #> #> slendr requirements: #> - tskit: version 0.5.6 ✓ #> - msprime: version 1.2.0 ✓ #> - pyslim: version 1.0.4 ✓ #> - tspop: present ✓