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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sensmixed
> ### Title: Analysis of sensory data within a mixed effects model framework
> ### Aliases: sensmixed
> 
> ### ** Examples
> 
> 
> 
> ## import SensMixed package
> library(SensMixed)
> 
> ## convert some variables to factors in TVbo
> TVbo <- convertToFactors(TVbo, c("Assessor", "Repeat", "Picture"))
> 
> ## run automated selection process
> res <- sensmixed(c("Coloursaturation", "Colourbalance"),
+ prod_effects = c("TVset", "Picture"), 
+ assessor="Assessor", data=TVbo, MAM=TRUE)

  |                                                                            
  |                                                                      |   0%Warning: 
 Random term (1 | Picture:Assessor) was eliminated because of standard deviation being equal to 0 

fixed-effect model matrix is rank deficient so dropping 1 column / coefficient

  |                                                                            
  |===================================                                   |  50%Warning: 
 Random term (1 | TVset:Picture:Assessor) was eliminated because of standard deviation being equal to 0 

fixed-effect model matrix is rank deficient so dropping 1 column / coefficient

  |                                                                            
  |======================================================================| 100%
> 
> res

Tests for the random effects:

====================================================================================
                  TVset:Assessor  Picture:Assessor  TVset:Picture:Assessor  Assessor
------------------------------------------------------------------------------------
Coloursaturation  19.81 ***       0.00              0.55                    0.33    
Colourbalance     33.95 ***       3.70              0.00                    0.22    
====================================================================================
*** p < 0.001, ** p < 0.01, * p < 0.05


Tests for the fixed effects:

===================================================
                  TVset      Picture  TVset:Picture
---------------------------------------------------
Coloursaturation  20.96 ***  4.18 **  2.57 *       
Colourbalance      5.73 *    1.27     4.20 ***     
===================================================
*** p < 0.001, ** p < 0.01, * p < 0.05


Tests for the scaling effects:

=========================
                  Scaling
-------------------------
Coloursaturation  2.69 * 
Colourbalance     0.94   
=========================
*** p < 0.001, ** p < 0.01, * p < 0.05

> 
> 
> ## run MAManalysis function
> res_MAM <- sensmixed(c("Coloursaturation", "Colourbalance"),
+                  prod_effects=c("TVset"), replication="Repeat", 
+                  assessor="Assessor", data=TVbo, control = list(MAM_balanced=TRUE))
> ## print is not yet implemented
> ## get anova part
> res_MAM[[3]][,,1]
                 SS     MS  DF     F   Pval
Assessor      54.66   7.81   7  1.21 0.3571
Product      221.51 110.76   2 16.11 0.0024
Scaling       41.89   5.98   7  0.87 0.5703
Disagreement  48.13   6.88   7  7.15 0.0000
Error        161.67   0.96 168    NA     NA
> 
> ## compare with the general implementation
> res <- sensmixed(c("Coloursaturation", "Colourbalance"),
+                   prod_effects=c("TVset"), 
+                   assessor="Assessor", data=TVbo, MAM=TRUE, 
+                   control = list(reduce.random=FALSE))

  |                                                                            
  |                                                                      |   0%fixed-effect model matrix is rank deficient so dropping 1 column / coefficient

 *** caught segfault ***
address 0x1f50, cause 'memory not mapped'
Segmentation fault