Running 'testthat.R' [256s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(slendr)
  The slim binary was not found in your $PATH variable. Most of
  the functionality in this package 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="path/to/the/directory/with/slim/program"
  
  to your ~/.Renviron file.
  --------------------
  A slendr Python environment with the necessary versions of msprime (1.2.0),
  tskit (0.5.2), and pyslim (1.0) has not been found. If this is not the
  first time you're running slendr, the most likely explanation for this
  message is that some of slendr's Python dependencies need an update.
  
  You can setup a pre-configured environment with all of slendr's Python
  dependencies by running the function setup_env().
  > 
  > test_check("slendr")
  [ FAIL 5 | WARN 168 | SKIP 22 | PASS 168 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • !check_env_present() is TRUE (1)
  • !slendr:::check_env_present() is TRUE (19)
  • Sys.which("slim") == "" is TRUE (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-compilation.R:6'): 'competition' must be specified in compile_model() if missing ──
  `compile_model(...)` produced warnings.
  ── Failure ('test-compilation.R:14'): 'mating' must be specified in compile_model() if missing ──
  `compile_model(...)` produced warnings.
  ── Failure ('test-compilation.R:22'): 'dispersal' must be specified in compile_model() if missing ──
  `compile_model(...)` produced warnings.
  ── Failure ('test-compilation.R:28'): 'competition', 'mating', and 'dispersal' do not have to be specified in compile_model() if already present ──
  `compile_model(...)` produced warnings.
  ── Failure ('test-serialization.R:72'): non-unique population names lead to error ──
  `compile_model(...)` produced warnings.
  
  [ FAIL 5 | WARN 168 | SKIP 22 | PASS 168 ]
  Error: Test failures
  Execution halted