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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: updateable
> ### Title: Make a function return updateable result
> ### Aliases: updateable updateable2 get_call uGamm MuMIn-gamm gamm-wrapper
> ### Keywords: utils
> 
> ### ** Examples
> 
> 
> # Simple example with cor.test:
> 
> # From example(cor.test)
> x <- c(44.4, 45.9, 41.9, 53.3, 44.7, 44.1, 50.7, 45.2, 60.1)
> y <- c( 2.6,  3.1,  2.5,  5.0,  3.6,  4.0,  5.2,  2.8,  3.8)
> 
> ct1 <- cor.test(x, y, method = "kendall", alternative = "greater")
> 
> uCor.test <- updateable(cor.test)
> 
> ct2 <- uCor.test(x, y, method = "kendall", alternative = "greater")
> 
> getCall(ct1) # --> NULL
NULL
> getCall(ct2)
uCor.test(x = x, y, method = "kendall", alternative = "greater")
> 
> #update(ct1, method = "pearson") --> Error
> update(ct2, method = "pearson")

	Pearson's product-moment correlation

data:  x and y
t = 1.8411, df = 7, p-value = 0.05409
alternative hypothesis: true correlation is greater than 0
95 percent confidence interval:
 -0.02223023  1.00000000
sample estimates:
      cor 
0.5711816 

> update(ct2, alternative = "two.sided")

	Kendall's rank correlation tau

data:  x and y
T = 26, p-value = 0.1194
alternative hypothesis: true tau is not equal to 0
sample estimates:
      tau 
0.4444444 

> 
> 
> ## predefined wrapper for 'gamm':
> ## Don't show: 
>  if(require(mgcv)) { 
+ ## End(Don't show)
+ set.seed(0)
+ dat <- gamSim(6, n = 100, scale = 5, dist = "normal")
+ 
+ fmm1 <- uGamm(y ~s(x0)+ s(x3) + s(x2), family = gaussian, data = dat, 
+     random = list(fac = ~1))
+ 
+ getCall(fmm1)
+ class(fmm1)
+ ## Don't show: 
+  } 
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-30. For overview type 'help("mgcv-package")'.
4 term additive + random effectGu & Wahba 4 term additive model
Error in .Call(C_mgcv_tmm, X, T, d, m, n) : WEIRD RETURN VALUE: 0x4
Calls: uGamm ... extract.lme.cov2 -> cbind -> tensor.prod.model.matrix
Execution halted