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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: circGLM
> ### Title: Fitting Bayesian circular General Linear Models
> ### Aliases: circGLM
> 
> ### ** Examples
> 
> dat <- generateCircGLMData()
> m   <- circGLM(th ~ ., dat)
> print(m)
Bayesian circular GLM 

Call:
circGLM(formula = th ~ ., data = dat)

MCMC run for 11000 its, 10000 used. 

Coefficients:
          Estimate    SD    LB     UB
Intercept    1.419 0.136 1.155  1.682
Kappa        6.519 1.989 3.717 11.416
l1           0.236 0.048 0.143  0.333
l2           0.235 0.047 0.147  0.326
c1           1.006 0.145 0.729  1.298
c2           1.156 0.173 0.802  1.490

DIC:  36.267 
WAIC: 35.49 
> print(m, type = "all")
                   [,1]
b0_meandir        1.419
kp_mean           7.370
kp_mode           6.519
kp_propacc        1.000
lppd            -12.825
n_par             6.000
ll_th_estpars   -12.437
AIC_Bayes        36.874
p_DIC             5.696
p_DIC_alt         7.041
DIC              36.267
DIC_alt          38.956
p_WAIC1           4.920
p_WAIC2           5.857
WAIC1            35.490
WAIC2            37.365
SavedIts      10000.000
TotalIts      11000.000
thin              1.000
burnin         1000.000
r                 2.000


$b0_CCI
     Beta_0
LB 1.155034
UB 1.682130

$kp_HDI
       Kappa
LB  3.717451
UB 11.416035

$bt_mean
            l1        l2
[1,] 0.2363111 0.2353545

$bt_CCI
          l1        l2
LB 0.1434735 0.1471231
UB 0.3331882 0.3259456

$bt_propacc
         l1     l2
[1,] 0.6432 0.6332

$dt_meandir
              c1       c2
MeanDir 1.005835 1.155859

$dt_CCI
          c1        c2
LB 0.7290873 0.8021828
UB 1.2981384 1.4896926

$dt_propacc
                       c1    c2
ProportionAccepted 0.7783 0.788

$zt_mean
         l1_zt     l2_zt
[1,] 0.1474249 0.1468594

$zt_mdir
         l1_zt     l2_zt
[1,] 0.1474245 0.1468577

$zt_CCI
        l1_zt      l2_zt
LB 0.09071899 0.09299433
UB 0.20474958 0.20059058

$DeltaIneqBayesFactors
   BF(dt>0:dt<0)
c1         10000
c2         10000

$BetaIneqBayesFactors
    [,1]
l1 10000
l2 10000

$BetaSDDBayesFactors
           [,1]
l1 4.132458e-15
l2 6.701083e-03

$MuIneqBayesFactors
                     [,1]
[Reference, c1] 0.0001000
[Reference, c2] 0.0001000
[c1, c2]        0.3044613

$TimeTaken
                Time (sec)
Initialization    0.000348
Loop              0.681833
Post-processing   0.032079
Total             0.714260

$SDDBFDensEstMethod
[1] "density"

$BetaBayesFactors
   BF(bt>0:bt<0) BF(bt==0:bt=/=0)
l1         10000     4.132458e-15
l2         10000     6.701083e-03

$MuBayesFactors
                 Comparison
[mu_a, mu_b]      BF(mu_a>mu_b:mu_a<mu_b) BF(mu_a==mu_b:(mu_a, mu_b))
  [Reference, c1]               0.0001000                0.000000e+00
  [Reference, c2]               0.0001000                8.259292e-17
  [c1, c2]                      0.3044613                9.704612e+00



> plot(m, type = "tracestack")
Error in Summary.unit(c(4.4, 4.4), na.rm = FALSE) : 
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
Calls: <Anonymous> ... render_strips -> build_strip -> ggstrip -> Summary.unit
Execution halted