Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("leiden")
  Unable to set up conda environment r-reticulate
  run in terminal:
  conda init
  conda create -n r-reticulate
  conda environment r-reticulate installed
  Unable to install python modules igraph and leidenalg
  run in terminal:
  conda install -n r-reticulate -c conda-forge leidenalg python-igraph pandas umap-learn
  python modules igraph and leidenalg installed
  > 
  > test_check("leiden")
  [ FAIL 1 | WARN 1 | SKIP 39 | PASS 0 ]
  
  ══ Skipped tests (39) ══════════════════════════════════════════════════════════
  • leidenalg not available for testing (39): 'test_igraph.R:19:3',
    'test_igraph.R:25:3', 'test_igraph.R:31:3', 'test_igraph.R:37:3',
    'test_igraph.R:50:3', 'test_igraph.R:61:3', 'test_igraph.R:70:3',
    'test_igraph.R:79:3', 'test_igraph.R:92:3', 'test_igraph.R:103:3',
    'test_igraph.R:114:3', 'test_igraph.R:154:3', 'test_igraph.R:165:3',
    'test_igraph.R:176:3', 'test_leiden.R:17:3', 'test_leiden.R:23:3',
    'test_leiden.R:29:3', 'test_leiden.R:35:3', 'test_leiden.R:47:3',
    'test_leiden.R:55:3', 'test_methods.R:18:3', 'test_methods.R:24:3',
    'test_methods.R:33:3', 'test_methods.R:42:3', 'test_methods.R:50:3',
    'test_methods.R:58:3', 'test_methods.R:67:3', 'test_methods.R:76:3',
    'test_multiplex.R:220:3', 'test_multiplex.R:237:3', 'test_multiplex.R:257:3',
    'test_weighted.R:23:3', 'test_weighted.R:36:3', 'test_weighted.R:48:3',
    'test_weighted.R:63:3', 'test_weighted.R:107:3', 'test_weighted.R:120:3',
    'test_weighted.R:133:3', 'test_weighted.R:146:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_bipartite.R:4:1'): (code run outside of `test_that()`) ─────────
  <packageNotFoundError/error/condition>
  Error in `library("bipartite")`: there is no package called 'bipartite'
  Backtrace:
      ▆
   1. └─base::library("bipartite") at test_bipartite.R:4:1
  
  [ FAIL 1 | WARN 1 | SKIP 39 | PASS 0 ]
  Error: Test failures
  Execution halted