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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: clusterperm.glm
> ### Title: Cluster-based permutation tests for time series data, based on
> ###   generalized linear models or other 'buildmer' models. This is an
> ###   alias for 'clusterperm.lm' provided for discoverability.
> ### Aliases: clusterperm.glm
> 
> ### ** Examples
> 
> ## Don't show: 
> perms <- clusterperm.glm(Fz ~ Deviant * Session,data=MMN[MMN$Time > 200 & MMN$Time < 205,],series.var=~Time,nperm=2)
Loading required namespace: permuco
Error in FUN(X[[i]], ...) : object 'converged' not found
Warning in buildmer.prep(match.call(), add = list(fit = fit.buildmer), banned = NULL) :
  Could not evaluate the 'control' argument - it is possible that you passed an option that is not recognized by buildmerControl(). If you meant to pass control arguments to the fitting function (e.g. lmer), use control=buildmerControl(args=list(control=lmerControl(...))) instead. The 'control' argument to the buildmer command should contain buildmer control arguments, not lmer control arguments; see ?buildmerControl. The reported error is:
Error in FUN(X[[i]], ...) : object 'converged' not found

Error in FUN(X[[i]], ...) : object 'converged' not found
Warning in buildmer.prep(match.call(), add = list(fit = fit.buildmer), banned = NULL) :
  Could not evaluate the 'control' argument - it is possible that you passed an option that is not recognized by buildmerControl(). If you meant to pass control arguments to the fitting function (e.g. lmer), use control=buildmerControl(args=list(control=lmerControl(...))) instead. The 'control' argument to the buildmer command should contain buildmer control arguments, not lmer control arguments; see ?buildmerControl. The reported error is:
Error in FUN(X[[i]], ...) : object 'converged' not found

Error in FUN(X[[i]], ...) : object 'converged' not found
Warning in buildmer.prep(match.call(), add = list(fit = fit.buildmer), banned = NULL) :
  Could not evaluate the 'control' argument - it is possible that you passed an option that is not recognized by buildmerControl(). If you meant to pass control arguments to the fitting function (e.g. lmer), use control=buildmerControl(args=list(control=lmerControl(...))) instead. The 'control' argument to the buildmer command should contain buildmer control arguments, not lmer control arguments; see ?buildmerControl. The reported error is:
Error in FUN(X[[i]], ...) : object 'converged' not found

Error in `*tmp*`[[i]] : subscript out of bounds
Calls: clusterperm.glm ... clusterperm.lm -> eval -> eval -> <Anonymous> -> clusterperm.work
Execution halted