Running ‘testthat.R’ [4s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(FMM)
  > 
  > test_check("FMM")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_fitFMM.R:4:3'): Parameter values in correct range. ─────────────
  Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
  Backtrace:
      ▆
   1. └─FMM::fitFMM(mouseGeneExp, nback = 2) at test_fitFMM.R:4:3
   2.   └─FMM:::addShowMethod()
   3.     └─rlang::env_unlock(env = asNamespace("FMM"))
   4.       └─rlang::abort(msg)
  ── Error ('test_fitFMM.R:22:3'): Returns an S4 class object (FMM object). ──────
  Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
  Backtrace:
      ▆
   1. ├─testthat::expect_s4_class(fitFMM(mouseGeneExp, nback = 2), "FMM") at test_fitFMM.R:22:3
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─FMM::fitFMM(mouseGeneExp, nback = 2)
   5.   └─FMM:::addShowMethod()
   6.     └─rlang::env_unlock(env = asNamespace("FMM"))
   7.       └─rlang::abort(msg)
  ── Error ('test_fitFMM.R:28:3'): Correct length of each vector slot. ───────────
  Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
  Backtrace:
      ▆
   1. └─FMM::fitFMM(mouseGeneExp, nback = 2) at test_fitFMM.R:28:3
   2.   └─FMM:::addShowMethod()
   3.     └─rlang::env_unlock(env = asNamespace("FMM"))
   4.       └─rlang::abort(msg)
  ── Error ('test_fitFMM.R:60:3'): FMM fit in limit parameter values simulated data. ──
  Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
  Backtrace:
      ▆
   1. └─FMM::fitFMM(tmpData, nback = 2) at test_fitFMM.R:60:3
   2.   └─FMM:::addShowMethod()
   3.     └─rlang::env_unlock(env = asNamespace("FMM"))
   4.       └─rlang::abort(msg)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted