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)
Arguments
tpl: character string for admb template file
compile: if TRUE forces re-compilation of tpl file
clean: if TRUE, deletes the tpl and executable files for amdb in local directory