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

> ### Name: summary.tuts_ar1
> ### Title: Prints summary tables of tuts_ar1 objects
> ### Aliases: summary.tuts_ar1
> 
> ### ** Examples
> 
> # Note: Most of models included in tuts package are computationally intensive. In the example
> # below I set parameters to meet CRAN's testing requirement of maximum 5 sec per example.
> # A more practical example would contain N=50 in the first line of the code and n.sim=10000.
> 
> #1. Import or simulate the data (a simulation is chosen for illustrative purposes):
> DATA=simtuts(N=10,Harmonics=c(4,0,0), sin.ampl=c(10,0, 0), cos.ampl=c(0,0,0),
+             trend=0,y.sd=2, ti.sd=0.2)
> y=DATA$observed$y.obs
> ti.mu=DATA$observed$ti.obs.tnorm
> ti.sd= rep(0.2, length(ti.mu))
> 
> #2. Fit the model:
> n.sim=1000
> TUAR1=tuar1(y=y,ti.mu=ti.mu,ti.sd=ti.sd,n.sim=n.sim,CV=FALSE)
Compiling model graph
   Resolving undeclared variables
   Allocating nodes
Graph information:
   Observed stochastic nodes: 9
   Unobserved stochastic nodes: 13
   Total graph size: 107

Initializing model

> 
> #3. Generate summary results (optional parameters are listed in brackets):
> summary(TUAR1)                            # Summary results (CI, burn).

Estimates of parameters of interest and timing:
-----------------------------------------------
                   0.5%           50%     99.5%
const      -2.895367510 -3.905817e-01 1.7673811
alpha1     -0.889693057  1.993204e-01 1.3189467
precision   0.002839335  1.467473e-02 0.0400988
ti.sim[1]  -0.417521378 -7.426066e-05 0.5473681
ti.sim[2]   0.676401537  1.149233e+00 1.6249681
ti.sim[3]   1.325404062  1.799115e+00 2.3920256
ti.sim[4]   2.554608083  3.078941e+00 3.4980252
ti.sim[5]   4.528221158  5.015743e+00 5.5308861
ti.sim[6]   5.338339745  5.823433e+00 6.1924981
ti.sim[7]   6.018756884  6.495086e+00 6.9785381
ti.sim[8]   7.497952832  7.972114e+00 8.3672202
ti.sim[9]   8.185261437  8.538083e+00 8.9179716
ti.sim[10]  8.428497626  8.818317e+00 9.2854466

Deviance information criterion:
-------------------------------
Mean deviance:  63.39 
penalty 2.783 
Penalized deviance: 66.18 
-------------------------------
> 
> 
> 
> cleanEx()
Error: connections left open:
	modelstring (textConnection)
Execution halted