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.
Arguments
- verbose
Should a log message be printed? If
FALSE
, only a logical value is returned (invisibly).
Value
Either TRUE
(slendr Python environment is present) or FALSE
(slendr Python environment is not present).
Examples
check_dependencies(python = TRUE) # make sure dependencies are 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.4_pyslim-1.0.1/bin/python
#> Python version: 3.11.0 | packaged by conda-forge | (main, Jan 14 2023, 12:26:40) [Clang 14.0.6 ]
#>
#> slendr requirements:
#> - tskit: version 0.5.4 ✓
#> - msprime: version 1.2.0 ✓
#> - pyslim: version 1.0.1 ✓