R package mrtutorial, version 0.2.12
Example package of mr- world libraries, in conjunction with MAgPIE MADRat tutorial. For more information please see: https://github.com/magpiemodel/tutorials/tree/master/madrat .
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("mrtutorial")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 David Meng-Chuen Chen david.chen@pik-potsdam.de.
To cite package mrtutorial in publications use:
Chen D (2025). "mrtutorial: Tutorial Package For Madrat Package Library." Version: 0.2.12.
A BibTeX entry for LaTeX users is
@Misc{,
title = {mrtutorial: Tutorial Package For Madrat Package Library},
author = {David Meng-Chuen Chen},
date = {2025-06-26},
year = {2025},
note = {Version: 0.2.12},
}