This publication contains the R-Package used to solve the calculations performed in Läuchli et al., (2025). The package contains a README.txt file, as well as six scripts stored in the "scripts" file including:
(1) "main_script.R" running the complete Monte-Carlo simulation,
(2) "calling_data.R" calling the data,
(3) "isotope_signature.R" extracting the isotope signature of marine authigenic clays using the dataset presented in Läuchli et al., (submitted),
(4) "global_fluxes_uncertainties_rivers.R" simulating uncertainties associated with single-data point river on global estimations of the lithium flux from discharged by rivers to seawater,
(5) "global_fluxes.R" solving the ocean lithium isotope budget, and
The data files necessary to solve the R-Package are provided as .csv and stored in the "csv" file. Output files are stored in the "export" file. The scripts are written for the R Software.
The data were acquired as part of the German Science Foundation (DFG) priority program SPP-1803 “EarthShape: Earth Surface Shaping by Biota” initiated and lead by Friedhelm von Blanckenburg and Todd Ehlers. The GeoB cores samples were provided by the MARUM Research Center (Bremen). The 22SL Gravity Core was stored and supplied by the Bundesanstalt für Geowissenschaften und Rohstoffe (BGR, Hannover).
Packages: The R packages devtools, dplyr, compositions, tidyr, EnvStats, gdata, and gmp were used for calculations. The R-Package was managed using packrat:
compositions (Boogaart et al., 2022; License: GPL >= 2)
devtools (Wickham et al., 2022; MIT License)
dplyr (Wickham et al., 2022; MIT License)
EnvStats (Millard, 2022; License: GPL >= 3)
gdata (Warnes et al., 2022; License: GPL-2)
gmp (Lucas et al., 2023; License: GPL >= 2)
packrat (Ushey et al., 2022; License: GPL-2)
tidyr (Wickham and Girlich, 2022; MIT License)
The DFG Priority Program 1803 "EarthShape - Earth Surface Shaping by Biota" (2016-2022; https://www.earthshape.net/) explored between scientific disciplines and includes geoscientists and biologists to study from different viewpoints the complex question how microorganisms, animals, and plants influence the shape and development of the Earth’s surface over time scales from the present-day to the young geologic past. All study sites are located in the north-to-south trending Coastal Cordillera mountains of Chile, South America. These sites span from the Atacama Desert in the north to the Araucaria forests approximately 1300 km to the south. The site selection contains a large ecological and climate gradient ranging from very dry to humid climate conditions.