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

> ### Name: dstudy
> ### Title: Conduct a Univariate or Multivariate Decision (D) Study
> ### Aliases: dstudy dstudy.components dstudy.dstudy dstudy.gstudy
> 
> ### ** Examples
> 
> #A univariate D study.
> #Compare to results on page 116 of Brennan (2001).
> data(Brennan.3.2)
> formula.Brennan.3.2 <- "Score ~ (1 | Person) + (1 | Task) + (1 | Rater:Task) + 
+   (1 | Person:Task)"
> gstudy.out <- gstudy(data = Brennan.3.2, formula = formula.Brennan.3.2)
> dstudy(gstudy.out, colname.objects = "Person", data = Brennan.3.2, colname.scores = "Score")
$components
       source        var percent  n
1 Person:Task 0.18652258    18.3  3
2  Rater:Task 0.05396088     5.3 12
3      Person 0.47314850    46.4  1
4        Task 0.10838497    10.6  3
5    Residual 0.19835391    19.4 12

$var.universe
[1] 0.4731485

$generalizability
[1] 0.5514391

$var.error.rel
[1] 0.3848765

$sem.rel
[1] 0.6203841

$see.rel
[1] 0.4606907

$dependability
[1] 0.4637025

$var.error.abs
[1] 0.5472223

$sem.abs
[1] 0.7397448

$see.abs
[1] 0.5037344

attr(,"class")
[1] "dstudy" "list"  
> 
> #A multivariate D study.
> #Compare to results on pages 270-272 of Brennan (2001).
> data(Rajaratnam.2)
> formula.Rajaratnam.2 <- "Score ~ (1 | Person) + (1 | Item)"
> gstudy.out <- gstudy(data = Rajaratnam.2, formula = formula.Rajaratnam.2, 
+   colname.strata = "Subtest", colname.objects = "Person")

 *** caught segfault ***
address 28, cause 'memory not mapped'

Traceback:
 1: NextMethod("[")
 2: `[.factor`(x, !is.na(x))
 3: x[!is.na(x)]
 4: unique(x[!is.na(x)])
 5: model.frame.default(data = data, drop.unused.levels = TRUE, formula = Score ~     (1 + Person) + (1 + Item))
 6: stats::model.frame(data = data, drop.unused.levels = TRUE, formula = Score ~     (1 + Person) + (1 + Item))
 7: eval(expr, envir, enclos)
 8: eval(mf, parent.frame())
 9: lme4::lFormula(formula = formula, data = data, control = list(    optimizer = "bobyqa", restart_edge = TRUE, boundary.tol = 1e-05,     calc.derivs = TRUE, use.last.params = FALSE, checkControl = list(        check.nobs.vs.rankZ = "ignore", check.nobs.vs.nlev = "stop",         check.nlev.gtreq.5 = "ignore", check.nlev.gtr.1 = "stop",         check.nobs.vs.nRE = "stop", check.rankX = "message+drop.cols",         check.scaleX = "warning", check.formula.LHS = "stop"),     checkConv = list(check.conv.grad = list(action = "warning",         tol = 0.002, relTol = NULL), check.conv.singular = list(        action = "ignore", tol = 1e-04), check.conv.hess = list(        action = "warning", tol = 1e-06)), optCtrl = list()))
10: eval(expr, envir, enclos)
11: eval(mc, parent.frame(1L))
12: lmer(data = data, formula = formula, ...)
13: gstudy.univariate(data = data[[name.stratum]], formula = formula,     colname.strata = colname.strata, colname.objects = colname.objects,     keep.mer = keep.mer)
14: gstudy(data = data[[name.stratum]], formula = formula, colname.strata = colname.strata,     colname.objects = colname.objects, keep.mer = keep.mer)
15: gstudy.multivariate(data = data, formula = formula, colname.strata = colname.strata,     colname.objects = colname.objects, keep.mer = keep.mer)
16: gstudy(data = data, formula = formula, colname.strata = colname.strata,     colname.objects = colname.objects, keep.mer = keep.mer)
17: gstudy.data.frame(data = Rajaratnam.2, formula = formula.Rajaratnam.2,     colname.strata = "Subtest", colname.objects = "Person")
18: gstudy(data = Rajaratnam.2, formula = formula.Rajaratnam.2, colname.strata = "Subtest",     colname.objects = "Person")
An irrecoverable exception occurred. R is aborting now ...