Running examples in 'timeROC-Ex.R' failed
The error most likely occurred in:

> ### Name: SeSpPPVNPV
> ### Title: Time-dependent Sensitivity (Se), Specificity (Sp), Positive
> ###   Predictive Value (PPV) and Negative Predictive Value (NPV) estimation
> ### Aliases: SeSpPPVNPV
> 
> ### ** Examples
> 
> ##-------------Without competing risks-------------------
> library(survival)
> data(pbc)
> head(pbc)
  id time status trt      age sex ascites hepato spiders edema bili chol
1  1  400      2   1 58.76523   f       1      1       1   1.0 14.5  261
2  2 4500      0   1 56.44627   f       0      1       1   0.0  1.1  302
3  3 1012      2   1 70.07255   m       0      0       0   0.5  1.4  176
4  4 1925      2   1 54.74059   f       0      1       1   0.5  1.8  244
5  5 1504      1   2 38.10541   f       0      1       1   0.0  3.4  279
6  6 2503      2   2 66.25873   f       0      1       0   0.0  0.8  248
  albumin copper alk.phos    ast trig platelet protime stage
1    2.60    156   1718.0 137.95  172      190    12.2     4
2    4.14     54   7394.8 113.52   88      221    10.6     3
3    3.48    210    516.0  96.10   55      151    12.0     4
4    2.54     64   6121.8  60.63   92      183    10.3     4
5    3.53    143    671.0 113.15   72      136    10.9     3
6    3.98     50    944.0  93.00   63       NA    11.0     3
> pbc<-pbc[!is.na(pbc$trt),] # select only randomised subjects
> pbc$status<-as.numeric(pbc$status==2) # create event indicator: 1 for death, 0 for censored     
> # Se, Sp, PPV and NPV computation for serum bilirunbin at threshold c=0.9(mg/dl) 
> res.SeSpPPVNPV.bili <- SeSpPPVNPV(cutpoint=0.9,
+                                   T=pbc$time,
+                                   delta=pbc$status,marker=pbc$bili,
+                                   cause=1,weighting="marginal",
+                                   times=quantile(pbc$time,probs=seq(0.2,0.8,0.1)),
+                                   iid=TRUE)
> res.SeSpPPVNPV.bili
Predictive accuracy measures at cutpoint c=0.9 estimated using IPCW (n=312, with competing risks). 
No. of positive (X>c) =208, No. of negative (X<=c) =104. 

         Cases Survivors Censored Se (%) se_Se Sp (%) se_Sp PPV (%) se_PPV
t=999.2     53       249       10  94.38  3.16  40.16  3.11   24.59   3.03
t=1307.4    68       218       26  94.12  2.86  43.12  3.36   32.10   3.34
t=1839.5    86       156       70  92.63  2.92  50.64  4.01   43.84   3.84
t=2555.7   102        94      116  85.60  3.89  50.00  5.17   51.35   4.28
t=3039     108        63      141  85.49  3.79  52.38  6.30   57.23   4.79
         NPV (%) se_NPV
t=999.2    97.19   1.61
t=1307.4   96.25   1.84
t=1839.5   94.29   2.30
t=2555.7   84.92   4.21
t=3039     82.89   4.65

Method used for estimating IPCW:marginal 

Total computation time : 0.56  secs.
> 
> ##-------------With competing risks-------------------
> 
> #---------Example with Paquid data--------
> data(Paquid)
> # Se, Sp, PPV and NPV computation for DSST at threshold c=22
> res.SeSpPPVNPV.DSST <- SeSpPPVNPV(cutpoint=22,
+                                   T=Paquid$time,
+                                   delta=Paquid$status,marker=Paquid$DSST,
+                                   cause=1,weighting="cox",
+                                   times=c(3,5,8,10))
Error in namespaceExport(ns, exports) : 
  undefined exports: %s!=%, %s!==%, %s+%, %s<%, %s<=%, %s==%, %s===%, %s>%, %s>=%, %stri!=%, %stri!==%, %stri+%, %stri<%, %stri<=%, %stri==%, %stri===%, %stri>%, %stri>=%, stri_datetime_add<-, stri_sub<-, stri_subset<-, stri_subset_charclass<-, stri_subset_coll<-, stri_subset_fixed<-, stri_subset_regex<-, stri_c, stri_c_list, stri_cmp, stri_cmp_eq, stri_cmp_equiv, stri_cmp_ge, stri_cmp_gt, stri_cmp_le, stri_cmp_lt, stri_cmp_neq, stri_cmp_nequiv, stri_compare, stri_conv, stri_count, stri_count_boundaries, stri_count_charclass, stri_count_coll, stri_count_fixed, stri_count_regex, stri_count_words, stri_datetime_add, stri_datetime_create, stri_datetime_fields, stri_datetime_format, stri_datetime_fstr, stri_datetime_now, stri_datetime_parse, stri_datetime_symbols, stri_detect, stri_detect_charclass, stri_detect_coll, stri_detect_fixed, stri_detect_regex, stri_dup, stri_duplicated, stri_duplicated_any, stri_enc_detect, stri_enc_detect2, stri_enc_fromutf32, stri_enc_get, stri_enc_inf
Calls: SeSpPPVNPV ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted