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.

check_env(quiet = FALSE)

Arguments

quiet

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

check_env()
#> Summary of the currently active Python environment:
#> 
#> Python binary: /Users/mp/Library/r-miniconda-arm64/envs/msprime-1.1.1_tskit-0.4.1_pyslim-0.700/bin/python 
#> Python version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:05:16)  [Clang 12.0.1 ] 
#> 
#> slendr requirements:
#>  - tskit: version 0.4.1 ✓ 
#>  - msprime: version 1.1.1 ✓ 
#>  - pyslim: version 0.700 ✓