Package check result: NOTE Check: examples, Result: NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed coalesce 4.949 0.116 5.065 Changes to worse in reverse depends: Package: PwePred Check: examples New result: ERROR Running examples in ‘PwePred-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: boot.pwexpm_fit > ### Title: Bootstrap a Piecewise Exponential Model > ### Aliases: boot.pwexpm_fit > > ### ** Examples > > event_dist <- function(n)rpwexpm(n, rate = c(0.1, 0.01, 0.2), breakpoint = c(5,14)) > dat <- simdata(rand_rate = 20, drop_rate = 0.03, total_sample = 1000, + advanced_dist = list(event_dist=event_dist), + add_column = c('censor_reason','event','followT','followT_abs')) > > fit_res3 <- boot.pwexpm_fit(dat$followT, dat$event, nbreak = 2, nsim = 10) | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30%Error in ctapply(time - brk[tmpi], tmpi, sum) : INTEGER() can only be applied to a 'integer', not a 'NULL' Calls: boot.pwexpm_fit Execution halted Package: PWEXP Check: examples New result: ERROR Running examples in ‘PWEXP-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: boot.pwexp.fit > ### Title: Bootstrap a Piecewise Exponential Model > ### Aliases: boot.pwexp.fit boot.pwexp.fit.default boot.pwexp.fit.pwexp.fit > > ### ** Examples > > event_dist <- function(n)rpwexp(n, rate = c(0.1, 0.01, 0.2), breakpoint = c(5,14)) > dat <- simdata(rand_rate = 20, drop_rate = 0.03, total_sample = 1000, + advanced_dist = list(event_dist=event_dist), + add_column = c('censor_reason','event','followT','followT_abs')) > > fit_res3 <- pwexp.fit(dat$followT, dat$event, nbreak = 2) Error in ctapply(event, tmpi, sum) : INTEGER() can only be applied to a 'integer', not a 'character' Calls: pwexp.fit -> ctapply Execution halted