Package: tranSurv Check: examples New result: ERROR Running examples in ‘tranSurv-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gof > ### Title: Goodness of fit based on left-truncated regression model > ### Aliases: gof > > ### ** Examples > > data(channing, package = "boot") > chan <- subset(channing, entry < exit) > fit <- trReg(Surv(entry, exit, cens) ~ sex, data = chan) > gof(fit, B = 10) Error in if (class(X) == "matrix") formula.type <- FALSE else formula.type <- TRUE : the condition has length > 1 Calls: gof -> getTL -> lt -> mlcoef -> truncreg Execution halted