Closed niekdt closed 2 years ago
One of the lcmm tests is failing on R-devel due to the result having empty clusters.
══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test-lcmm.R:35:3): gmm ─────────────────────────────────────────────── Error in `test.latrend("lcMethodLcmmGMM", instantiator = make.gmm, tests = tests, data = lcmmData)`: Found 1 error(s) among 1 test context(s) Failed tests: cluster-three: trajectoryAssignments.uniqueN For details, see the respective test files in: "/data/gannet/ripley/R/packages/tests-noLD/latrend.Rcheck/latrend/test-cases" Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-lcmm.R:35:2 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─latrend::test.latrend(...) at test-lcmm.R:36:4 ── Error (test-lcmm.R:55:3): gmm with NA covariate ───────────────────────────── Error in `test.latrend("lcMethodLcmmGMM", instantiator = make.gmm, tests = tests, data = lcmmData)`: Found 1 error(s) among 1 test context(s) Failed tests: cluster-three: trajectoryAssignments.uniqueN For details, see the respective test files in: "/data/gannet/ripley/R/packages/tests-noLD/latrend.Rcheck/latrend/test-cases" Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-lcmm.R:55:2 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─latrend::test.latrend(...) at test-lcmm.R:56:4
Unable to reproduce the error
One of the lcmm tests is failing on R-devel due to the result having empty clusters.