The latest officially released version (1.1.0) can be installed automatically by executing the following code in R:

install.packages("OSLdecomposition")


The in-development version from GitHub can be installed via the remotes package:

install.packages("remotes")
library(remotes)
install_github("DirkMittelstrass/OSLdecomposition")

However, unless you are in dire need of an unreleased new feature or do want to participate in the package development, we DO NOT recommend to use the GitHub version for your data analyses. Outline, progress log and discussion for version 1.1.0 can be found on GitHub.


OSLdecomposition 1.1.0

Released 2025-08-31 on CRAN

  • The package has now a DOI: doi.org/10.32614/CRAN.package.OSLdecomposition.
  • Added more general plot function: plot_MultiExponential()
  • Reworked plot_OSLcurve() to be just a wrapper function for plot_MultiExponential(), which makes it more robust.
  • Changed graph style in plot_OSLcurve() to stacked areas. Also changed default colors.
  • Add module tests and automatically generated HTML test reports. Currently only for plot_MultiExponential, plot_OSLcurve and decompose_OSLcurve.
  • Solved bug in RLum.OSL_correction() that remove_light_off algorithm may throw warnings or errors for specific curves
  • RLum.OSL functions return now helpful error messages if BIN or XSYG data objects are used as input without the transforming them into RLum.Analysis objects beforehand.
  • decompose_OSLcurve() uses now element names of named lambda vector as component names.
  • Fixed some issues and errors in the roxygen documentation.
  • Bumped version requirements to R >= 4.3 and Luminescence >= 1.1.0.
  • Adding 'knitr' to suggest and fix CRAN Rd note .
  • Fix Lost braces.


OSLdecomposition 1.0.0

Released 2022-08-12 on CRAN

  • First reviewed and throughout tested release
  • Added correction for PMT pulse-pair resolution to RLum.OSL_correction()
  • Added option to turn of automatic browser opening when reports are created
  • Moved the RSS calculation for the fitting algorithm used in fit_OSLcurve() to decompose_OSLcurve()and optimized it for performance there. This speeds up fit_OSLcurve() and RLum.OSL_global_fitting by about 4 times
  • Fixed bug that report images are saved in the wrong directory at some systems
  • Removed kableExtra package dependency (now only suggested). This simplified the use on Linux systems because kableExtra needs the installation of not-standard system libraries (tested on Ubuntu 20.04). The HTML reports have now differently formatted tables depending whether kableExtra is installed or not
  • Checked spelling and grammar in the whole package (thanks to C. Schmidt)
  • Changed used font, removed session info and made other minor style changes in the automatically created HTML reports to get more polished reports


OSLdecomposition pre-release

Released 2021-02-15 on GitHub

  • Added algorithm for the automatic removal of zero-signal data points at the start and the end of measurements. This simplifies the analysis of measurements where the record extends the stimulation like most single-grain measurements. The algorithm enabled per default in RLum.OSL_correction and can be deactivated via the remove_light_off parameter
  • Added the parameter rmd_path to RLum.OSL_global_fitting() and RLum.decomposition() to enable advanced users to manually select the Rmarkdown script file for the dynamic reports
  • Corrected grammar and improved style in the Step 1 and Step 2 report (thanks to C. Schmidt)
  • Changed appearance of the Step 1 and Step 2 reports to match with the appearance of luminescence.de
  • Some minor bugfixes and spelling corrections


OSLdecomposition beta

Released 2020-11-25 on GitHub

  • First release, released for DLED 2020 (online conference about luminescence and ESR dating hosted by the MPI Leipzig, Germany)
  • Based on my master thesis but extended for the RLum functions and the automatically created HMTL reports.

© Dirk Mittelstraß, 2020 - 2025 | This website was created with Rmarkdown