Package: gmvjoint Check: dependencies in R code New result: WARNING Missing or unexported object: ‘glmmTMB::splitForm’ Package: gmvjoint Check: examples New result: ERROR Running examples in ‘gmvjoint-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fixef.joint > ### Title: Extract fixed effects from a 'joint' object. > ### Aliases: fixef.joint > > ### ** Examples > > # Univariate fit on PBC data ------------------------------------------- > data(PBC) > > # Subset data and remove NAs > PBC <- subset(PBC, select = c('id', 'survtime', 'status', 'drug', 'time', + 'albumin')) > PBC <- na.omit(PBC) > > # Specify simple univariate fit > long.formulas <- list( + albumin ~ time + (1 + time|id) + ) > surv.formula <- Surv(survtime, status) ~ drug > > fit <- joint(long.formulas, surv.formula, PBC, family = list('gaussian')) Error: 'splitForm' is not an exported object from 'namespace:glmmTMB' Execution halted Package: mtscr Check: tests New result: ERROR Running ‘testthat.R’ [75s/76s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(mtscr) > > test_check("mtscr") Data must not be grouped. i It has been ungrouped. Removed NA values from `score` [ FAIL 1 | WARN 10 | SKIP 0 | PASS 81 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-mtscr_model.R:12:3'): mtscr_model() works as expected ──────── length(glmmTMB::ranef(model)) (`actual`) not equal to 2 (`expected`). `actual`: 3 `expected`: 2 [ FAIL 1 | WARN 10 | SKIP 0 | PASS 81 ] Error: Test failures Execution halted