Running 'testthat.R' [124s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(crosstalkr)
  > 
  > test_check("crosstalkr")
  trying URL 'https://stringdb-static.org/download/protein.links.v11.5/287.protein.links.v11.5.txt.gz'
  Content type 'application/octet-stream' length 10492673 bytes (10.0 MB)
  ==================================================
  downloaded 10.0 MB
  
  trying URL 'https://stringdb-static.org/download/protein.links.v11.5/292.protein.links.v11.5.txt.gz'
  Content type 'application/octet-stream' length 12406748 bytes (11.8 MB)
  ==================================================
  downloaded 11.8 MB
  
  trying URL 'https://stringdb-static.org/download/protein.links.v11.5/340.protein.links.v11.5.txt.gz'
  Content type 'application/octet-stream' length 4915671 bytes (4.7 MB)
  ==================================================
  downloaded 4.7 MB
  
  trying URL 'https://stringdb-static.org/download/protein.links.v11.5/549.protein.links.v11.5.txt.gz'
  Content type 'application/octet-stream' length 5436601 bytes (5.2 MB)
  ==================================================
  downloaded 5.2 MB
  
  trying URL 'https://stringdb-static.org/download/protein.links.v11.5/511145.protein.links.v11.5.txt.gz'
  Content type 'application/octet-stream' length 5455721 bytes (5.2 MB)
  ==================================================
  downloaded 5.2 MB
  
  [ FAIL 1 | WARN 3 | SKIP 3 | PASS 77 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  • skipping due to long download times (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plot.R:18'): check_crosstalk identifies crosstalk dfs as true ──
  Error in `sample.int(length(x), size, replace, prob)`: invalid first argument
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test-plot.R:18:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─crosstalkr:::check_crosstalk(...)
    5. │ └─base::is.data.frame(crosstalk_df)
    6. └─crosstalkr::compute_crosstalk(c(1), g = g, use_ppi = FALSE, n = 100)
    7.   └─crosstalkr::bootstrap_null(...)
    8.     └─crosstalkr:::match_seeds(...)
    9.       └─base::sample(degree_all, size = num_seeds)
   10.         └─base::sample.int(length(x), size, replace, prob)
  
  [ FAIL 1 | WARN 3 | SKIP 3 | PASS 77 ]
  Error: Test failures
  Execution halted