Learn R Programming

gms (version 0.31.2)

is.modularGAMS: is.modularGAMS

Description

Checks whether a folder seems to contain modular GAMS code or not.

Usage

is.modularGAMS(path = ".", version = FALSE, modulepath = "modules/")

Arguments

path

path to the main folder of the model

version

if TRUE returns the version of the modular structure or FALSE, otherwise returns a boolean indicating whether it is modular or not.

modulepath

Module path within the model (relative to the model main folder)

Author

Jan Philipp Dietrich

See Also

codeCheck

Examples

Run this code
is.modularGAMS(system.file("dummymodel",package="gms"))

Run the code above in your browser using DataLab