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

> ### Name: ps.estimate
> ### Title: Estimation of propensity score based treatment effects
> ### Aliases: ps.estimate
> ### Keywords: models
> 
> ### ** Examples
> 
> ## STU1
> data(stu1)
> stu1.ps <- pscore(data    = stu1, 
+                   formula = therapie~tgr+age)
> stu1.match <- ps.match(object          = stu1.ps,
+                        ratio           = 2,
+                        caliper         = 0.5,
+                        givenTmatchingC = FALSE,
+                        matched.by      = "pscore",
+                        setseed         = 38902)
Argument 'givenTmatchingC'=FALSE: Treated elements were matched to each untreated element.
> stu1.est <-
+   ps.estimate(object  = stu1.match,
+               resp    = "pst",
+               adj     = "tmass",
+               regr    = pst~therapie+tgr+age)
Warning in glmer(resp.m ~ treat.m + (1 | match.id.m), data = data.m, family = family,  :
  calling glmer() with family=gaussian (identity link) as a shortcut to lmer() is deprecated; please call lmer() directly
Warning in glmer(adj.form.m, data = data.m, family = family, ...) :
  calling glmer() with family=gaussian (identity link) as a shortcut to lmer() is deprecated; please call lmer() directly
> 
> ## PRIDE
> data(pride)
> pride.ps <- pscore(data        = pride,
+                    formula     = PCR_RSV~SEX+RSVINF+REGION+
+                                  AGE+ELTATOP+EINZ+EXT,
+                    name.pscore = "ps")
> pride.strata <- ps.makestrata(object = pride.ps,
+                               breaks = quantile(pride.ps$pscore,  
+                                                 seq(0,1,0.2)),
+                               stratified.ps = "ps")
> pride.est <-
+   ps.estimate(object  = pride.strata,
+               resp    = "SEVERE",
+               family  = "binomial",
+               adj     = "AGE",
+               regr    = SEVERE ~PCR_RSV+SEX+ETHNO+FRUEHG+HERZ+
+                         ELTATOP+REGION+AGE+TOBACCO+VOLLSTIL+EXT+
+                         EINZ+KRANKSUM,
+               weights = "rr")