R package lucode2, version 0.53.2
A collection of tools which allow to manipulate and analyze code.
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("lucode2")Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):
update.packages()In case of questions / problems please contact Jan Philipp Dietrich dietrich@pik-potsdam.de.
To cite package lucode2 in publications use:
Dietrich J, Sauer P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M, Rein P (2026). "lucode2: Code Manipulation and Analysis Tools." doi:10.5281/zenodo.4389418 https://doi.org/10.5281/zenodo.4389418, Version: 0.53.2, https://github.com/pik-piam/lucode2.
A BibTeX entry for LaTeX users is
@Misc{,
title = {lucode2: Code Manipulation and Analysis Tools},
author = {Jan Philipp Dietrich and Pascal Sauer and David Klein and Anastasis Giannousakis and Markus Bonsch and Benjamin Leon Bodirsky and Lavinia Baumstark and Oliver Richters and Mika Pflüger and Patrick Rein},
doi = {10.5281/zenodo.4389418},
date = {2026-03-11},
year = {2026},
url = {https://github.com/pik-piam/lucode2},
note = {Version: 0.53.2},
}