Sets up executable for the tpl file by looking for exe in package directory or compiles tpl file in local directory (clean=F) of from package directory. If admb cannot be found will attempt to run prepare_admb function (if exists) to establish connections for compilation.
setup_admb(tpl, compile = FALSE, clean = TRUE, safe = TRUE, re = FALSE)
character string for admb template file
if TRUE forces re-compilation of tpl file
if TRUE, deletes the tpl and executable files for amdb in local directory
can be used to set safe mode for admb
uses admb-re if TRUE for random effects