We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8868224 + 382372a commit c94b1f4Copy full SHA for c94b1f4
tests/testthat/test_latent.R
@@ -243,9 +243,9 @@ rm(list = setdiff(ls(), ls_bu))
243
test_that(paste0(
244
"it is possible to handle censored observations in `latent_ll_oscale`"
245
), {
246
- tstsetups <- names(refmods[sapply(refmods, function(refmod_i) {
+ tstsetups <- names(refmods[vapply(refmods, function(refmod_i) {
247
refmod_i$family$for_latent
248
- })])
+ }, FUN.VALUE = logical(1))])
249
tstsetups <- head(tstsetups, 1)
250
for (tstsetup in tstsetups) {
251
refmod_i <- refmods[[tstsetup]]
0 commit comments