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

> ### Name: immer_ccml
> ### Title: Composite Conditional Maximum Likelihood Estimation for the
> ###   Partial Credit Model with a Design Matrix for Item Parameters
> ### Aliases: immer_ccml summary.immer_ccml coef.immer_ccml vcov.immer_ccml
> 
> ### ** Examples
> 
> #############################################################################
> # EXAMPLE 1: Partial credit model with CCML estimation
> #############################################################################
> 
> library(TAM)
Loading required package: CDM
Loading required package: mvtnorm
**********************************
** CDM 7.5-15 (2020-03-10 14:19:21)      
** Cognitive Diagnostic Models  **
**********************************

* TAM 3.4-26 (2020-03-10 13:09:18)
> 
> data(data.gpcm, package="TAM")
> dat <- data.gpcm
> 
> #-- initial MML estimation in TAM to create a design matrix
> mod1a <- TAM::tam.mml(dat, irtmodel="PCM2")
....................................................
Processing Data      2020-05-04 14:16:41 
    * Response Data: 392 Persons and  3 Items 
    * Numerical integration with 21 nodes
    * Created Design Matrices   ( 2020-05-04 14:16:41 )
    * Calculated Sufficient Statistics   ( 2020-05-04 14:16:41 )
....................................................
Iteration 1     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2791.524
  Maximum item intercept parameter change: 0.772072
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.358296
....................................................
Iteration 2     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2519.9775 | Absolute change: 271.5465 | Relative change: 0.1077575
  Maximum item intercept parameter change: 0.601556
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.047207
....................................................
Iteration 3     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2473.158 | Absolute change: 46.8195 | Relative change: 0.01893104
  Maximum item intercept parameter change: 0.196329
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.009086
....................................................
Iteration 4     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2466.8772 | Absolute change: 6.2808 | Relative change: 0.00254607
  Maximum item intercept parameter change: 0.124206
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002371
....................................................
Iteration 5     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2465.5623 | Absolute change: 1.3149 | Relative change: 0.00053329
  Maximum item intercept parameter change: 0.064962
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000214
....................................................
Iteration 6     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.998 | Absolute change: 0.5643 | Relative change: 0.00022893
  Maximum item intercept parameter change: 0.061585
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001587
....................................................
Iteration 7     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.6893 | Absolute change: 0.3087 | Relative change: 0.00012524
  Maximum item intercept parameter change: 0.03452
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002399
....................................................
Iteration 8     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.5237 | Absolute change: 0.1656 | Relative change: 6.721e-05
  Maximum item intercept parameter change: 0.032676
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002928
....................................................
Iteration 9     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.419 | Absolute change: 0.1047 | Relative change: 4.249e-05
  Maximum item intercept parameter change: 0.020603
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.003194
....................................................
Iteration 10     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.3499 | Absolute change: 0.069 | Relative change: 2.802e-05
  Maximum item intercept parameter change: 0.018585
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.003352
....................................................
Iteration 11     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.3017 | Absolute change: 0.0482 | Relative change: 1.955e-05
  Maximum item intercept parameter change: 0.013054
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.003398
....................................................
Iteration 12     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.2653 | Absolute change: 0.0365 | Relative change: 1.479e-05
  Maximum item intercept parameter change: 0.010356
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.003357
....................................................
Iteration 13     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.2378 | Absolute change: 0.0275 | Relative change: 1.116e-05
  Maximum item intercept parameter change: 0.008519
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.00329
....................................................
Iteration 14     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.2154 | Absolute change: 0.0224 | Relative change: 9.1e-06
  Maximum item intercept parameter change: 0.006743
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.00317
....................................................
Iteration 15     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1975 | Absolute change: 0.0178 | Relative change: 7.24e-06
  Maximum item intercept parameter change: 0.005828
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.003063
....................................................
Iteration 16     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1824 | Absolute change: 0.0151 | Relative change: 6.12e-06
  Maximum item intercept parameter change: 0.00499
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002878
....................................................
Iteration 17     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.17 | Absolute change: 0.0124 | Relative change: 5.05e-06
  Maximum item intercept parameter change: 0.004111
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002747
....................................................
Iteration 18     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1594 | Absolute change: 0.0106 | Relative change: 4.3e-06
  Maximum item intercept parameter change: 0.004047
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002556
....................................................
Iteration 19     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1505 | Absolute change: 0.009 | Relative change: 3.63e-06
  Maximum item intercept parameter change: 0.003103
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002436
....................................................
Iteration 20     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1428 | Absolute change: 0.0076 | Relative change: 3.1e-06
  Maximum item intercept parameter change: 0.003163
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002239
....................................................
Iteration 21     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1363 | Absolute change: 0.0065 | Relative change: 2.63e-06
  Maximum item intercept parameter change: 0.002398
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.002123
....................................................
Iteration 22     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1308 | Absolute change: 0.0055 | Relative change: 2.25e-06
  Maximum item intercept parameter change: 0.002551
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001949
....................................................
Iteration 23     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1261 | Absolute change: 0.0047 | Relative change: 1.91e-06
  Maximum item intercept parameter change: 0.001962
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001839
....................................................
Iteration 24     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.122 | Absolute change: 0.0041 | Relative change: 1.66e-06
  Maximum item intercept parameter change: 0.002015
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001697
....................................................
Iteration 25     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1186 | Absolute change: 0.0034 | Relative change: 1.4e-06
  Maximum item intercept parameter change: 0.001547
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.00159
....................................................
Iteration 26     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1156 | Absolute change: 0.003 | Relative change: 1.2e-06
  Maximum item intercept parameter change: 0.0016
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001462
....................................................
Iteration 27     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1131 | Absolute change: 0.0025 | Relative change: 1.01e-06
  Maximum item intercept parameter change: 0.001287
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001365
....................................................
Iteration 28     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.111 | Absolute change: 0.0021 | Relative change: 8.7e-07
  Maximum item intercept parameter change: 0.001355
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001254
....................................................
Iteration 29     2020-05-04 14:16:41
E Step
M Step Intercepts   |----
  Deviance = 2464.1092 | Absolute change: 0.0018 | Relative change: 7.4e-07
  Maximum item intercept parameter change: 0.001065
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001171
....................................................
Iteration 30     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1076 | Absolute change: 0.0016 | Relative change: 6.3e-07
  Maximum item intercept parameter change: 0.001138
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001074
....................................................
Iteration 31     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1063 | Absolute change: 0.0013 | Relative change: 5.3e-07
  Maximum item intercept parameter change: 0.000845
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.001001
....................................................
Iteration 32     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1052 | Absolute change: 0.0011 | Relative change: 4.6e-07
  Maximum item intercept parameter change: 0.000972
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000917
....................................................
Iteration 33     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1042 | Absolute change: 0.001 | Relative change: 3.9e-07
  Maximum item intercept parameter change: 0.000723
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000855
....................................................
Iteration 34     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1034 | Absolute change: 8e-04 | Relative change: 3.3e-07
  Maximum item intercept parameter change: 0.00083
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000782
....................................................
Iteration 35     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1027 | Absolute change: 7e-04 | Relative change: 2.8e-07
  Maximum item intercept parameter change: 0.000617
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000729
....................................................
Iteration 36     2020-05-04 14:16:41
E Step
M Step Intercepts   |---
  Deviance = 2464.1021 | Absolute change: 6e-04 | Relative change: 2.4e-07
  Maximum item intercept parameter change: 0.000708
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000667
....................................................
Iteration 37     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.1016 | Absolute change: 5e-04 | Relative change: 2e-07
  Maximum item intercept parameter change: 0.000464
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000621
....................................................
Iteration 38     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.1012 | Absolute change: 4e-04 | Relative change: 1.7e-07
  Maximum item intercept parameter change: 0.00059
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000565
....................................................
Iteration 39     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.1008 | Absolute change: 4e-04 | Relative change: 1.5e-07
  Maximum item intercept parameter change: 0.000408
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000526
....................................................
Iteration 40     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.1005 | Absolute change: 3e-04 | Relative change: 1.2e-07
  Maximum item intercept parameter change: 0.000513
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000482
....................................................
Iteration 41     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.1003 | Absolute change: 3e-04 | Relative change: 1.1e-07
  Maximum item intercept parameter change: 0.000354
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000447
....................................................
Iteration 42     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.1 | Absolute change: 2e-04 | Relative change: 9e-08
  Maximum item intercept parameter change: 0.000441
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000409
....................................................
Iteration 43     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0999 | Absolute change: 2e-04 | Relative change: 8e-08
  Maximum item intercept parameter change: 0.000305
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000381
....................................................
Iteration 44     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0997 | Absolute change: 2e-04 | Relative change: 7e-08
  Maximum item intercept parameter change: 0.000379
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000349
....................................................
Iteration 45     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0996 | Absolute change: 1e-04 | Relative change: 6e-08
  Maximum item intercept parameter change: 0.000262
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000324
....................................................
Iteration 46     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0994 | Absolute change: 1e-04 | Relative change: 5e-08
  Maximum item intercept parameter change: 0.000323
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000297
....................................................
Iteration 47     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0993 | Absolute change: 1e-04 | Relative change: 4e-08
  Maximum item intercept parameter change: 0.000224
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000276
....................................................
Iteration 48     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0993 | Absolute change: 1e-04 | Relative change: 3e-08
  Maximum item intercept parameter change: 0.000277
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000253
....................................................
Iteration 49     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0992 | Absolute change: 1e-04 | Relative change: 3e-08
  Maximum item intercept parameter change: 0.000192
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000235
....................................................
Iteration 50     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0991 | Absolute change: 1e-04 | Relative change: 2e-08
  Maximum item intercept parameter change: 0.000236
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000215
....................................................
Iteration 51     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0991 | Absolute change: 1e-04 | Relative change: 2e-08
  Maximum item intercept parameter change: 0.000163
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 2e-04
....................................................
Iteration 52     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.099 | Absolute change: 0 | Relative change: 2e-08
  Maximum item intercept parameter change: 0.000201
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000183
....................................................
Iteration 53     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.099 | Absolute change: 0 | Relative change: 2e-08
  Maximum item intercept parameter change: 0.000139
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.00017
....................................................
Iteration 54     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.099 | Absolute change: 0 | Relative change: 1e-08
  Maximum item intercept parameter change: 0.000171
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000156
....................................................
Iteration 55     2020-05-04 14:16:41
E Step
M Step Intercepts   |-
  Deviance = 2464.0989 | Absolute change: 0 | Relative change: 1e-08
  Maximum item intercept parameter change: 9.8e-05
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000145
....................................................
Iteration 56     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0989 | Absolute change: 0 | Relative change: 1e-08
  Maximum item intercept parameter change: 0.000155
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000131
....................................................
Iteration 57     2020-05-04 14:16:41
E Step
M Step Intercepts   |-
  Deviance = 2464.0989 | Absolute change: 0 | Relative change: 1e-08
  Maximum item intercept parameter change: 8.9e-05
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000123
....................................................
Iteration 58     2020-05-04 14:16:41
E Step
M Step Intercepts   |--
  Deviance = 2464.0989 | Absolute change: 0 | Relative change: 1e-08
  Maximum item intercept parameter change: 0.000136
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000111
....................................................
Iteration 59     2020-05-04 14:16:41
E Step
M Step Intercepts   |-
  Deviance = 2464.0989 | Absolute change: 0 | Relative change: 1e-08
  Maximum item intercept parameter change: 7.9e-05
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 0.000105
....................................................
Iteration 60     2020-05-04 14:16:41
E Step
M Step Intercepts   |-
  Deviance = 2464.0988 | Absolute change: 0 | Relative change: 0
  Maximum item intercept parameter change: 9.8e-05
  Maximum item slope parameter change: 0
  Maximum regression parameter change: 0
  Maximum variance parameter change: 9.5e-05
....................................................
Item Parameters
  xsi.index     xsi.label     est
1         1       Comfort  1.2925
2         2          Work  0.2775
3         3       Benefit  0.6016
4         4 Comfort_step1 -2.5943
5         5 Comfort_step2  1.1627
6         6    Work_step1 -1.9828
7         7    Work_step2  0.5811
8         8 Benefit_step1 -1.8336
9         9 Benefit_step2  0.2266
...................................
Regression Coefficients
     [,1]
[1,]    0

Variance:
       [,1]
[1,] 0.6531


EAP Reliability:
[1] 0.451

-----------------------------
Start:  2020-05-04 14:16:41
End:  2020-05-04 14:16:41 
Time difference of 0.1559999 secs

Error in as.POSIXct.default(e) : 
  do not know how to convert 'e' to class "POSIXct"
Calls: <Anonymous> ... unlist -> lapply -> FUN -> as.POSIXct -> as.POSIXct.default
Execution halted