R Under development (unstable) (2024-11-21 r87360 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(slendr) The 'slim.exe' binary could not be found in your $PATH. Most of the functionality of slendr will work without any issues but you will not be able to simulate data with the `slim()` function. If you want to run SLiM simulations, make sure to modify the $PATH variable so that it points to the directory containing the slim command-line program. One easy way to do this is to add this: PATH="C:\path\to\directory\with\slim.exe" to your C:\Users\\Documents\.Renviron file. Alternatively, use the `slim_path` argument of the `slim()` function. -------------------- A slendr Python (3.12) environment with the necessary versions of msprime (1.3.3), tskit (0.5.8), pyslim (1.0.4), and tspop (0.0.2) has not been found. You can setup a pre-configured environment with all of slendr's Python dependencies automatically by running the function `setup_env()`. > > test_check("slendr") [ FAIL 0 | WARN 146 | SKIP 35 | PASS 142 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • !is_slendr_env_present() is TRUE (29): 'test-compilation.R:69:1', 'test-engines.R:1:1', 'test-extensions.R:1:1', 'test-future.R:15:1', 'test-geneflow.R:50:3', 'test-ibd-squashing.R:1:1', 'test-ibd.R:1:1', 'test-interaction-changes.R:3:1', 'test-manual-ts.R:1:1', 'test-msprime-geneflow.R:5:1', 'test-msprime-metadata.R:1:1', 'test-msprime.R:23:1', 'test-nonserialized.R:1:1', 'test-population.R:43:3', 'test-population.R:60:3', 'test-population.R:142:3', 'test-pure-msprime-vs-slendr.R:4:1', 'test-pure-slim-vs-slendr.R:4:1', 'test-resizes-locked.R:1:1', 'test-resizes.R:1:1', 'test-runners.R:1:1', 'test-sampling.R:3:1', 'test-simulation-runs.R:1:1', 'test-time-direction.R:1:1', 'test-trees.R:1:1', 'test-ts-ancestors-descendants.R:1:1', 'test-ts-pure-nonspatial.R:1:1', 'test-ts.R:1:1', 'test-tspop.R:1:1' • !is_slendr_env_present() || !is_slim_present() is TRUE (1): 'test-ts-pure-spatial.R:1:1' • Sys.info()[["sysname"]] == "Windows" is TRUE (5): 'test-compilation.R:12:3', 'test-compilation.R:19:3', 'test-compilation.R:28:3', 'test-compilation.R:37:3', 'test-serialization.R:73:3' [ FAIL 0 | WARN 146 | SKIP 35 | PASS 142 ] > > proc.time() user system elapsed 44.45 2.81 136.93