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

> ### Name: AgeC14_Computation
> ### Title: Bayesian analysis for age estimation of 14C age of various
> ###   samples
> ### Aliases: AgeC14_Computation
> 
> ### ** Examples
> 
> ## Load data
> data(DATA_C14,envir = environment())
> C14Cal=DATA_C14$C14[,1]
> SigmaC14Cal=DATA_C14$C14[,2]
> Names=DATA_C14$Names
> nb_sample=length(Names)
> 
> ## Age computation of samples without stratigraphic relations
> Age <- AgeC14_Computation(
+ Data_C14Cal = C14Cal,
+ Data_SigmaC14Cal = SigmaC14Cal,
+ SampleNames = Names,
+ Nb_sample = nb_sample,
+ PriorAge = rep(c(20000,60000),nb_sample),
+ Iter = 500,
+ quiet = TRUE)
Warning: [plot_MCMC()] 'n.iter' out of range, reset to number of observations
Warning: [Age14_Computation()] Outliers detected in sample: S-EVA-26510, S-EVA-26506, S-EVA-26507, S-EVA-26508


>> MCMC Convergence of Age parameters <<
----------------------------------------------
Sample name   Bayes estimate   Uppers credible interval
A_S-EVA-26510 	 1 		 1 
A_S-EVA-26506 	 1.01 		 1.04 
A_S-EVA-26507 	 1 		 1.02 
A_S-EVA-26508 	 1 		 1 


---------------------------------------------------------------------------------------------------
 *** WARNING: The following information are only valid if the MCMC chains have converged  ***
---------------------------------------------------------------------------------------------------



>> Bayes estimates of Age for each sample and credible interval <<
------------------------------------------------------
Sample name 	 Bayes estimate  Credible interval: 
A_S-EVA-26510 	 40740 
						 lower bound 	 upper bound
				 at level 95% 	 22925 		 59656 
				 at level 68% 	 28746 		 54545 
------------------------------------------------------
Sample name 	 Bayes estimate  Credible interval: 
A_S-EVA-26506 	 39799 
						 lower bound 	 upper bound
				 at level 95% 	 21989 		 59022 
				 at level 68% 	 20185 		 46759 
------------------------------------------------------
Sample name 	 Bayes estimate  Credible interval: 
A_S-EVA-26507 	 40151 
						 lower bound 	 upper bound
				 at level 95% 	 20774 		 57887 
				 at level 68% 	 26854 		 51862 
------------------------------------------------------
Sample name 	 Bayes estimate  Credible interval: 
A_S-EVA-26508 	 39171 
						 lower bound 	 upper bound
				 at level 95% 	 20053 		 57721 
				 at level 68% 	 20246 		 45997 

------------------------------------------------------
> 
> 
> 
> 
> cleanEx()
Error in apply(sC[, 1:2], 1, function(x) paste0("\t", x[1], " (", x[2],  : 
  dim(X) must have a positive length
Calls: cleanEx
Execution halted