Function to insert time and date of the last compilation in the gmacs.tpl file.
insertTime(
object = NULL,
pattern = NULL,
.update = NULL,
devel = FALSE,
New_ver = NULL
)
(character string)- Input vector/table
(character string)- pattern to look for.
Logical: is it to update a new version of GMACS? If TRUE, the name of the new version of GMACS and the date of the compilation will be modified in the gmacsbase.tpl file.
(logical)- flag to specify if this is a development version.
(character)- the development version number.
List of object: the first object is the line wherein the text should added (it corresponds to the line where the header is specified in gmacsbase.tpl). The second object is the new header definition. If this is not an update of GMACS, then the header of the gmacsbase.tpl file will not be modified but the gmacs.tpl file will specify the date of the new compilation.