- using R version 4.2.0 (2022-04-22)
- using platform: aarch64-apple-darwin20 (64-bit)
- using session charset: UTF-8
- checking for file ‘buildmer/DESCRIPTION’ ... OK
- this is package ‘buildmer’ version ‘2.4’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘buildmer’ can be installed ... [5s/6s] OK
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/6s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/8s] ERROR
Running examples in ‘buildmer-Ex.R’ failed
The error most likely occurred in:
> ### Name: buildglmmTMB
> ### Title: Use 'buildmer' to perform stepwise elimination on 'glmmTMB'
> ### models
> ### Aliases: buildglmmTMB
>
> ### ** Examples
>
> library(buildmer)
> if (requireNamespace('glmmTMB')) {
+ model <- buildglmmTMB(Reaction ~ Days + (Days|Subject),data=lme4::sleepstudy)
+ }
Loading required namespace: glmmTMB
Warning in checkDepPackageVersion(dep_pkg = "TMB") :
Package version inconsistency detected.
glmmTMB was built with TMB version 1.7.22
Current TMB version is 1.8.1
Please re-install glmmTMB from source or restore original ‘TMB’ package (see '?reinstalling' for more information)
Determining predictor order
Fitting via glmmTMB, with ML: Reaction ~ 1
Error in .Call("getParameterOrder", data, parameters, new.env(), NULL, :
Incorrect number of arguments (4), expecting 3 for 'getParameterOrder'
Convergence failure. Reducing terms and retrying... The failure was:
Error in .Call("getParameterOrder", data, parameters, new.env(),
NULL, : Incorrect number of arguments (4), expecting 3 for
'getParameterOrder'
Error in reduce.model(p, conv) : No terms left for reduction, giving up
Calls: buildglmmTMB ... buildmer.fit -> do.call -> order -> reorder -> reduce.model
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] OK
Running ‘testthat.R’ [2s/2s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [0s/0s] NONE
‘buildmer.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [18s/26s] OK
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '