Function to build the GMACS executable. It converts the gmacs.tpl code to a gmacs.cpp code, calls ADMB to compile all .cpp files required to build gmacs and returns the gmacs executable.
.buildGMACS(
prefix = NULL,
raneff = NULL,
safe = NULL,
dll = NULL,
debug = NULL,
logfile = NULL,
add = NULL,
verbose = NULL,
pathfile = NULL,
args = NULL
)
String name prefix (i.e., without extension) of the ADMB project; here "gmacs".
logical: if TRUE
, use the random effects model executable
tpl2rem.exe
, otherwise use the normal model executable tpl2cpp.exe
.
logical: if TRUE
, use safe mode with bounds checking on all
array objects, otherwise use optimized mode for fastest execution.
create dll (rather than executable)
compile with debug symbols
logical: if TRUE
, create a log file of the messages from the shell call.
logical: if TRUE
, append shell call messages to an exsiting log file.
logical: if TRUE
, report the shell call an its messages to the R console.
string name of 2-column text file that details the
relevant paths for the R variables admbpath
, gccpath
, and editor
.
list of string names corresponding to the various .cpp libraries required to build gmacs. These files are stored in the lib/ folder.
nothing.