In-Code Documentation for 'GAMS'

A collection of tools which extract a model documentation from 'GAMS' code and comments. In order to use the package you need to install 'pandoc' and 'pandoc-citeproc' first (< https://pandoc.org/>).


In-Code Documentation for 'GAMS'

R package goxygen, version 1.4.5

CRAN status DOI R build status codecov r-universe

Purpose and Functionality

A collection of tools which extract a model documentation from 'GAMS' code and comments. In order to use the package you need to install 'pandoc' and 'pandoc-citeproc' first (https://pandoc.org/).

Installation

For installation of the most recent package version an additional repository has to be added in R:

options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages"))

The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).

After that the most recent version of the package can be installed using install.packages:

install.packages("goxygen")

Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):

update.packages()

Tutorial

The package comes with a vignette describing the basic functionality of the package and how to use it. You can load it with the following command (the package needs to be installed):

vignette("goxygen") # Creating GAMS model documentations with goxygen

Questions / Problems

In case of questions / problems please contact Jan Philipp Dietrich [email protected].

Citation

To cite package goxygen in publications use:

Dietrich J, Karstens K, Klein D, Baumstark L, Benke F (2025). "goxygen: In-Code Documentation for 'GAMS'." doi:10.5281/zenodo.1411404 https://doi.org/10.5281/zenodo.1411404, Version: 1.4.5, https://github.com/pik-piam/goxygen.

A BibTeX entry for LaTeX users is

@Misc{,
 title = {goxygen: In-Code Documentation for 'GAMS'},
 author = {Jan Philipp Dietrich and Kristine Karstens and David Klein and Lavinia Baumstark and Falk Benke},
 doi = {10.5281/zenodo.1411404},
 date = {2025-04-01},
 year = {2025},
 url = {https://github.com/pik-piam/goxygen},
 note = {Version: 1.4.5},
}

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("goxygen")

1.4.5 by Jan Philipp Dietrich, 2 years ago


https://github.com/pik-piam/goxygen, https://doi.org/10.5281/zenodo.1411404


Report a bug at https://github.com/pik-piam/goxygen/issues


Browse source code at https://github.com/cran/goxygen


Authors: Jan Philipp Dietrich [aut, cre] , Kristine Karstens [aut] , David Klein [aut] , Lavinia Baumstark [aut] , Falk Benke [aut]


Documentation:   PDF Manual  


BSD_2_clause + file LICENSE license


Imports pander, stringi, gms, citation, withr, yaml

Suggests testthat, knitr, rmarkdown, covr, qgraph

System requirements: pandoc, pandoc-citeproc


See at CRAN