Running ‘testthat.R’ [30s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(seqgendiff)
  > 
  > test_check("seqgendiff")
  [ FAIL 3 | WARN 0 | SKIP 2 | PASS 57 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_genthin.R:22:3): general thinning works ─────────────────────────
  Error in `thin_diff(mat = mat, design_fixed = design_fixed, coef_fixed = coef_fixed, 
      design_perm = design_perm, coef_perm = coef_perm, target_cor = target_cor, 
      design_obs = design_obs, use_sva = TRUE)`: 
  Package optmatch must be installed to use`permute_method = "optmatch"`
  You can install it with
  
  install.packages("optmatch")
  
  Note that optmatch uses a strange non-standard license:
  https://cran.r-project.org/package=optmatch/LICENSE
  
  Backtrace:
      ▆
   1. └─seqgendiff::thin_diff(...) at test_genthin.R:22:2
  ── Error (test_genthin.R:76:5): conversion to DESeq2DataSet and SummarizedExperiment works ──
  Error in `thin_diff(mat = mat, design_fixed = design_fixed, coef_fixed = coef_fixed, 
      design_perm = design_perm, coef_perm = coef_perm, target_cor = target_cor, 
      design_obs = design_obs, use_sva = TRUE)`: 
  Package optmatch must be installed to use`permute_method = "optmatch"`
  You can install it with
  
  install.packages("optmatch")
  
  Note that optmatch uses a strange non-standard license:
  https://cran.r-project.org/package=optmatch/LICENSE
  
  Backtrace:
      ▆
   1. └─seqgendiff::thin_diff(...) at test_genthin.R:76:4
  ── Error (test_genthin.R:193:3): permute_design orders 0's and 1's for binary designs ──
  Error in `permute_design(design_perm = design_perm, sv = sv, target_cor = target_cor, 
      method = "optmatch")`: 
  Package optmatch must be installed to use `method = "optmatch"`
  You can install it with
  
  install.packages("optmatch")
  
  Note that optmatch uses a strange non-standard license:
  https://cran.r-project.org/package=optmatch/LICENSE
  
  Backtrace:
      ▆
   1. └─seqgendiff:::permute_design(...) at test_genthin.R:193:2
  
  [ FAIL 3 | WARN 0 | SKIP 2 | PASS 57 ]
  Error: Test failures
  Execution halted