Skip to content

baseline

1.3-8Package record

Baseline Correction of Spectra

4packages dependsuggested by 3
18.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Collection of baseline correction algorithms, along with a framework and a Tcl/Tk enabled GUI for optimising baseline algorithm parameters. Typical use of the package is for removing background effects from spectra originating from various types of spectroscopy and spectrometry, possibly optimizing this with regard to regression or classification results. Correction methods include polynomial fitting, weighted local smoothers and many more.

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.3-8
READMEYes · 100 wordsVignettesNoNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
42includes a package overview page
Examples that run
94%29 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
68%
Documented parameters
98%
Return-value docs
81%
Help pages citing references
33%

Downloads

18.8K
CRAN downloads in the past year
Rank #2,828 · ~52/day · ~1.6K/mo
Daily download trend is not available in this view yet.
1.4K30 days
5.2K90 days
18.8K1 year
Compare downloads with other packages →
Also on962 r2u68 autocran2.4K conda_forge208 c2d4u

Repository

12Stars
1Forks
0Open issues
0Open PRs
0Releases
16Commits
1Commit identities
16 commits · Last activity 2026-09-25 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
13
Median days to close, 50 most recently updated closed PRs
45

Stars over time

2025-04-24 · 102026-09-01 · 12
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/khliland/baseline on 2026-10-21.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing baseline adds 1 package (1 with compiled code, 540 KB of source tarballs). Heaviest: SparseM 540 KB.

Depends (1)
R >= 3.5.0
Imports (5)
graphicsSparseMgrDevicesstatsmethods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
1indirect
Imports 4
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since at least 1.0-1 (2011)
Author · added in 1.1-0
Contributor · added in 1.2-0
Listed in earlier versions (1)
Bjrn-Helge Mevik
no longer listed · 1.0-1
Releases (18)

Pick two releases to compare their code metrics.

  • 1.3-8Latest
    record
    2026-09-18 · current release · diff ↗ ·
    removed 1 export
    pattern:^[^\\.]
    added 46 exports
    algorithm, baseline, baseline.TAP, baseline.als, baseline.fillPeaks, baseline.irls, baseline.lowpass, baseline.medianWindow, baseline.modpolyfit, baseline.peakDetection, baseline.rfbaseline, baseline.rollingBall, baseline.shirley, baselineAlgorithms, baselineAlgorithmsGUI, baselineEnv, baselineGUI, custom.baseline, description, doOptim, extraArgs, funcName, getBaseline, getBaselineEnv, getCall, getCorrected, getOptim, getOptimRes, getSpectra, ind.min and 16 more
  • R
    R 4.6.0 released · 2026-04-24
  • 1.3-7
    record
    2025-06-18 · diff ↗
  • unarchivedReturned to CRAN
    2025-06-04
  • 1.3-6
    record
    2025-06-04 · diff ↗
  • archivedRemoved from CRAN
    2025-06-02
    requires archived package 'limSolve'
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3-5
    record
    2023-11-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.3-4
    record
    2022-07-06 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3-1
    record
    2020-09-12 · diff ↗
  • 1.3-0
    record
    2020-05-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 22 earlier eventsHide 22 earlier events
  • 1.2-3
    record
    2020-02-03 · diff ↗
  • 1.2-2
    record
    2019-11-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.2-1
    record
    2015-07-05 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2-0
    record
    2015-03-11 · diff ↗
  • 1.1-4
    record
    2015-01-21 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.1-3
    record
    2014-02-22 · diff ↗
  • 1.1-2
    record
    2013-05-02 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1-1
    record
    2013-03-27 · diff ↗
  • 1.1-0
    record
    2012-06-24 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.0-1
    record
    2011-08-12 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 1.0-0
    record
    2011-01-10
  • R
    R 2.12.0 released · 2010-10-15

Package metadata

First published
2011-01-10
Total releases
18 / 15 yrs
License
GPL-2 OSI
Copyright
inst/COPYRIGHTS
Minimum R
≥ 3.5.0
Bundled data
1.2 MB / 4 files
Download size
1.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("baseline")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for baseline version 1.3-8 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy