Package: gms 0.33.3

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.33.3.tar.gz
gms_0.33.3.zip(r-4.5)gms_0.33.3.zip(r-4.4)gms_0.33.3.zip(r-4.3)
gms_0.33.3.tgz(r-4.4-any)gms_0.33.3.tgz(r-4.3-any)
gms_0.33.3.tar.gz(r-4.5-noble)gms_0.33.3.tar.gz(r-4.4-noble)
gms_0.33.3.tgz(r-4.4-emscripten)gms_0.33.3.tgz(r-4.3-emscripten)
gms.pdf |gms.html
gms/json (API)

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

Peer review:

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

On CRAN:

8.86 score 1 stars 37 packages 400 scripts 222 downloads 43 exports 20 dependencies

Last updated 2 months agofrom:70dc63ea09. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-winOKNov 16 2024
R-4.5-linuxOKNov 16 2024
R-4.4-winOKNov 16 2024
R-4.4-macOKNov 16 2024
R-4.3-winOKNov 16 2024
R-4.3-macOKNov 16 2024

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