Function used when updating and releasing a new version of GMACS. It allows to copy and paste all the GMACS files (for one or several stocks) resulting from the Development version from this directory to the Latest_Version directory.

UpdateGMACS(dirSrc = NULL, dirNew = NULL)

Arguments

dirSrc

(character string)- This is the path to the folder that has been used to develop the new version of GMACS. Typically, this corresponds to the path to the Dvpt_Version folder, if following the basic workflow for updating GMACS.

dirNew

(character string)- This is the path to the folder that will hold the latest version of GMACS after the check steps. Typically, this corresponds to the path to the Latest_Version folder, if following the basic workflow for updating GMACS.

Value

Copy all the files from the development folder to the latest_version folder and create the GMACS_Version_details.txt file that gives specifications about the version of GMACS that is updating.