CRAN Package Check Results for Package slendr

Last updated on 2024-10-06 07:50:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.1 14.52 303.58 318.10 OK
r-devel-linux-x86_64-debian-gcc 0.9.1 10.05 203.99 214.04 OK
r-devel-linux-x86_64-fedora-clang 0.9.1 476.91 NOTE
r-devel-linux-x86_64-fedora-gcc 0.9.1 446.71 OK
r-devel-windows-x86_64 0.9.1 40.00 590.00 630.00 OK
r-patched-linux-x86_64 0.9.1 13.89 278.97 292.86 OK
r-release-linux-x86_64 0.9.1 14.61 280.95 295.56 ERROR
r-release-macos-arm64 0.9.1 136.00 OK
r-release-macos-x86_64 0.9.1 228.00 OK
r-release-windows-x86_64 0.9.1 36.00 628.00 664.00 OK
r-oldrel-macos-arm64 0.9.1 146.00 OK
r-oldrel-macos-x86_64 0.9.1 306.00 OK
r-oldrel-windows-x86_64 0.9.1 39.00 485.00 524.00 OK

Check Details

Version: 0.9.1
Check: installed package size
Result: NOTE installed size is 5.0Mb sub-directories of 1Mb or more: doc 3.7Mb Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.9.1
Check: tests
Result: ERROR Running ‘testthat.R’ [63s/100s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(slendr) The 'slim' 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="path/to/directory/with/slim/binary" to your ~/.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.1), tskit (0.5.6), 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 1 | WARN 1 | SKIP 32 | PASS 175 ] ══ Skipped tests (32) ══════════════════════════════════════════════════════════ • !is_slendr_env_present() is TRUE (32): 'test-compilation.R:65:1', 'test-engines.R:1:1', 'test-geneflow.R:50:3', 'test-ibd-squashing.R:1:1', 'test-ibd.R:1:1', 'test-interaction-changes.R:49:3', '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:70:3', 'test-sampling.R:127:3', 'test-sampling.R:228:3', 'test-sampling.R:254:3', 'test-sampling.R:287:3', '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-pure-spatial.R:1:1', 'test-ts.R:1:1', 'test-tspop.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-naturalearth.R:4:3'): all three variants of the Natural Earth data can be downloaded ── Error in `utils::download.file(url = sprintf("https://naturalearth.s3.amazonaws.com/%sm_physical/%s", size, file), destfile = path, quiet = TRUE)`: cannot open URL 'https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_land.zip' Backtrace: ▆ 1. ├─utils::capture.output(...) at test-naturalearth.R:4:3 2. │ └─base::withVisible(...elt(i)) 3. └─slendr::world(...) 4. └─utils::download.file(...) [ FAIL 1 | WARN 1 | SKIP 32 | PASS 175 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64