Function used when updating and releasing a new version of GMACS. It uses the `write_TPL` function to create a new gmacs.tpl file from the gmacsbase.tpl and personal.TPL files, compiles the model and uses the `.buildGMACS()` function to provide a new executable.
.GetGmacsExe(
DirFold = NULL,
.nameFold = "Dvpt_Version",
.nameVer = NULL,
ADMBpaths = NULL,
verbose = FALSE,
logFiles = FALSE
)
(character string)- Path to the folder where the ADMBpaths
file is hosted and where the development folder (i.e., the one containing the .TPL
file for the development version is located.
If DirFold = NULL
, then the function will assume that this "development"
folder indicated in .nameFold
can be accessed from the current working
directory.
(character string); name of the subfolder holding the development version you want to work on. The default is `Dvpt_Version` but you can have renamed this folder.
(character string); name of the development version of GMACS you are going to work on. Default: `Dvpt_Version`.
(filepath): absolute or relative to current working directory path to file defining required ADMB paths. The default is `NULL`.
(TRUE/FALSE); flag to print processing information.
(TRUE/FALSE); flag to create PBSadmb log files.
the new GMACS executable for the development version you are working on.
This function assumes you are calling it from the parent folder to
that identified by .nameFold
. In the course of creating the executable
of a development version of GMACS, the working directory is switched to
.nameFold
, but switched back to the parent folder when the function exits.