Running ‘testthat.R’ [175s/181s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(latrend)
  > 
  > test_check('latrend')
  Test "converged" did not generate the expected result:
    1 element mismatch
  Test "converged" did not generate the expected result:
    1 element mismatch
  Test "converged" did not generate the expected result:
    1 element mismatch
  Test "converged" did not generate the expected result:
    1 element mismatch
  Test "oneTraj.converged" did not generate the expected result:
    1 element mismatch
  Test "eachTraj.converged" did not generate the expected result:
    1 element mismatch
  [ FAIL 1 | WARN 18 | SKIP 12 | PASS 2350 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (9): 'test-crimcv.R:4:1', 'test-flexmix.R:2:1', 'test-funfem.R:3:1',
    'test-lcmm.R:2:1', 'test-mixak.R:2:1', 'test-mixtools.R:3:1',
    'test-parallel.R:1:1', 'test-stratify.R:79:3', 'test-stratify.R:89:3'
  • empty test (1): 'test-quick.R:1:1'
  • skipping MixTVEM tests because the TVEMMixNormal() function is not loaded
    (1): 'test-mixtvem.R:2:1'
  • {akmedoids} is not installed (1): 'test-akmedoids.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-twostep.R:28:5'): gckm ─────────────────────────────────────────
  Error in `test.latrend("lcMethodGCKM", instantiator = make.gckm, tests = tests)`: 
  Found 6 error(s) among 5 test context(s)
  Failed tests:
    basic: converged
    fitted: converged
    cluster-single: converged
    cluster-three: converged
    data-na: oneTraj.converged
    data-na: eachTraj.converged
  For details, see the respective test files in:
    "/data/gannet/ripley/R/packages/tests-clang/latrend.Rcheck/latrend/test-cases"
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-twostep.R:27:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─latrend::test.latrend(...) at test-twostep.R:28:5
  
  [ FAIL 1 | WARN 18 | SKIP 12 | PASS 2350 ]
  Error: Test failures
  Execution halted