powered by
Checks whether a folder seems to contain modular GAMS code or not.
is.modularGAMS(path = ".", version = FALSE, modulepath = "modules/")
path to the main folder of the model
if TRUE returns the version of the modular structure or FALSE, otherwise returns a boolean indicating whether it is modular or not.
Module path within the model (relative to the model main folder)
Jan Philipp Dietrich
codeCheck
is.modularGAMS(system.file("dummymodel",package="gms"))
Run the code above in your browser using DataLab