Package: gms 0.31.2

Jan Philipp Dietrich

gms:'GAMS' Modularization Support Package

A collection of tools to create, use and maintain modularized model code written in the modeling language 'GAMS' (<https://www.gams.com/>). Out-of-the-box 'GAMS' does not come with support for modularized model code. This package provides the tools necessary to convert a standard 'GAMS' model to a modularized one by introducing a modularized code structure together with a naming convention which emulates local environments. In addition, this package provides tools to monitor the compliance of the model code with modular coding guidelines.

Authors:Jan Philipp Dietrich [aut, cre], David Klein [aut], Anastasis Giannousakis [aut], Felicitas Beier [aut], Johannes Koch [aut], Lavinia Baumstark [aut], Mika Pflüger [aut], Oliver Richters [aut]

gms_0.31.2.tar.gz
gms_0.31.2.tar.gz(r-4.5-noble)gms_0.31.2.tar.gz(r-4.4-noble)
gms_0.31.2.tgz(r-4.4-emscripten)gms_0.31.2.tgz(r-4.3-emscripten)
gms.pdf |gms.html
gms/json (API)

# Installgms in R:
install.packages('gms',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pik-piam/gms/issues

43 exports 4.17 score 20 dependencies 36 dependents 124 downloads

Last updated 6 days agofrom:5e562031ad

Exports:check_configcheckAppearancecheckDescriptioncheckNoTabscheckSwitchAppearancechooseFromListcodeCheckcodeExtractconvert.modularGAMScopy_inputdelete_olddatadownload_distributedownload_unpackfulldataOutputGAMScodeFiltergetfiledestinationsgetLinegetModulesinterfaceplotis_model_lockedis.modularGAMSloadConfigmodel_dependenciesmodel_lockmodel_unlockmodule.skeletonmodules_interfaceplotpublish_dataread_yaml_headerreadDeclarationsreadDefaultConfigreadSettingsreplace_in_filesaveConfigselectScriptsetScenariosettingsChecksingleGAMSfiletardirupdate_fulldataOutputupdate_modules_embeddingupdateInterfaceMappingwriteSets

Dependencies:clidplyrfansifilelockgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangstringistringrtibbletidyselectutf8vctrswithryaml

Readme and manuals

Help Manual

Help pageTopics
gms: 'GAMS' Modularization Support Packagegms-package gms
Check configcheck_config
checkAppearancecheckAppearance
checkDescriptioncheckDescription
checkNoTabscheckNoTabs
checkSwitchAppearancecheckSwitchAppearance
chooseFromListchooseFromList
codeCheckcodeCheck
codeExtractcodeExtract
convert.modularGAMSconvert.modularGAMS
copy_inputcopy_input
delete_olddatadelete_olddata
Download and unpack compressed data from repositoriesdownload_distribute
Download and unpack compressed data from repositoriesdownload_unpack
fulldataOutputfulldataOutput
GAMScodeFilterGAMScodeFilter
get_infoget_info
getfiledestinationsgetfiledestinations
getLinegetLine
getModulesgetModules
interfaceplotinterfaceplot
is.modularGAMSis.modularGAMS
Load ConfigloadConfig
Function to detect R package dependenciesmodel_dependencies
Model lock/unlockis_model_locked model_lock model_unlock
Create a Module skeletonmodule.skeleton
modules_interfaceplotmodules_interfaceplot
pathpath
Publish data in a repositorypublish_data
read_yaml_headerread_yaml_header
readDeclarationsreadDeclarations
readDefaultConfigreadDefaultConfig
readFileOrVectorreadFileOrVector
readParameterValuesreadParameterValues
readSetglobalsreadSetglobals
readSettingsreadSettings
Replace in Filereplace_in_file
Save ConfigsaveConfig
selectScriptselectScript
setScenariosetScenario
settingsChecksettingsCheck
Merge GAMS code into single filesingleGAMSfile
Create tgz archive from directorytardir
update_fulldataOutputupdate_fulldataOutput
Update Modules Embedding in GAMS codeupdate_modules_embedding
updateInterfaceMappingupdateInterfaceMapping
writeSetswriteSets