Reads the gmacs.dat file to figure out the names of the control, data, and projection files, then copies those files along with gmacs.dat and gmacs.pin (if applicable).
copy_GMACSinputs(
fromDir = NULL,
toDir = NULL,
GMACS_files = NULL,
overwrite = NULL,
verbose = TRUE,
do_pinFile = TRUE
)
(path)- path to the directory where the input files to copy are stored.
(path)- path to the directory where to copy the files.
(character string)- name of the GMACS input file(s) you want to
copy. Options for GMACS_files
are: 'gmacs.dat','gmacs.pin',
the names of either the control, data, or projection files
(with extention files, i.e.: .ctl, .dat, .prj).
If GMACS_files="all"
, then the function will copy
and paste all the input files cited above.
from the base model directory to your current model in development.
(logical) - Overwrite the input files if they already exist
in the toDir
repertory.
(logical)- flag to print processing information.
(logical)- flag to indicate if the "gmacs.pin" has to be
copied over if available in the path
folder.
Default, do_pinFile = TRUE
.