Running examples in ‘ICcalib-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: CalcWeibullRSP
> ### Title: Calculating the probabilities of positive binary exposure status
> ###   at a given time point using risk-set Weibull calibration models
> ### Aliases: CalcWeibullRSP
> 
> ### ** Examples
> 
> # Simulate data set
> sim.data <- ICcalib:::SimCoxIntervalCensSingle(n.sample = 200, lambda = 0.1, 
+                                                alpha = 0.25, beta0 = log(0.5), 
+                                                mu = 0.2, n.points = 2, 
+                                                weib.shape = 1, weib.scale = 2)
> case.times <- sim.data$obs.tm[sim.data$delta==1]
> # Fit Weibull risk-set calibration models
> calib.weib.params <- FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, 
+                                        tm = sim.data$obs.tm, 
+                                        event = sim.data$delta)
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 2.41385180526089 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.375367210920528 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.501560717675528 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 2.48416266030752 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.3632415420848 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.843524721557899 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.447702662112269 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.72158990970954 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.87541301656176 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.02816573025424 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.1687819102431 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.5477419849342 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.548028550822022 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 2.59311628515839 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.955007236179699 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.67023995173205 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.13141267977782 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.624071937002753 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.87276088913416 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.70702084024243 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.26993137614425 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.29976681334138 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.10651629186821 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.181887333584658 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.11533021730933 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.673678582758535 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.0884217485243978 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.84544410028788 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.43590762654853 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.00705746716203 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.301127462710727 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.52870894337266 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.44559606144804 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.0391115823368337 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.95868647920722 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.91528159358897 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 2.89551427929508 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.135508161639567 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 4.76936451685343 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.291998252331698 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.104188070339312 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 3.71229903214665 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.89654144814189 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.187194486797011 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.48896658202976 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.0534603246836 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.0193554019711 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 1.79054976564705 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.211121560994234 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.357332274750471 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 0.710182294323449 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In point 2.85075327985396 Calibration was used instead of risk set calibration
Warning in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  :
  In  100 % of the event times there were no sufficient data to fit a risk-set calibration model
Error in FitCalibWeibullRS(w = sim.data$w, w.res = sim.data$w.res, tm = sim.data$obs.tm,  : 
  In more of 50% of the event times there were no sufficient data to fit a risk-set calibration model
Execution halted