Skip to content

stlplus

0.5.2Package record

Enhanced Seasonal Decomposition of Time Series by Loess

3packages dependsuggested by 1
19.3Kdownloads / year
43.6%test coverage
13/13flavors OK

Overview

About

Decompose a time series into seasonal, trend, and remainder components using an implementation of Seasonal Decomposition of Time Series by Loess (STL) that provides several enhancements over the STL method in the stats package. These enhancements include handling missing values, providing higher order (quadratic) loess smoothing with automated parameter choices, frequency component smoothing beyond the seasonal and trend components, and some basic plot methods for diagnostics.

Changes in 0.5.2
  • Fixed Rcpp namespace import so Rcpp symbols are properly loaded at runtime
  • Updated testthat comparisons against stats::stl() to use explicit matched settings and platform-robust tolerances
  • Added periodic-mode regression test coverage
  • Corrected centering in plot_seasonal() so cycle-subseries are centered by the seasonal component mean
  • Enabled explicit native routine registration (useDynLib with .registration = TRUE)
  • Removed stale LazyData field from DESCRIPTION

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-12
  • ERROR9 OK, 4 NOTE, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.5.2
READMEYes · 146 wordsVignettesNoNEWSYes · 100% structured · mentions 0.5.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
7
Examples that run
100%2 run in a plain check
Exported functions with examples
33%
Documented parameters
27%
Return-value docs
100%
Help pages citing references
100%

Downloads

19.3K
CRAN downloads in the past year
Rank #3,484 · ~53/day · ~1.6K/mo
Daily download trend is not available in this view yet.
1K30 days
3.1K90 days
19.3K1 year
Compare downloads with other packages →
Also on497 r2u5 autocran154 c2d4u

Repository

66Stars
13Forks
7Open issues
1Open PRs
0Releases
39Commits
1Commit identities
39 commits · Last activity 2026-04-03 · 0% stars, 30d · The default branch showed an older version (0.5.1) than CRAN on 2026-10-21
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 642026-09-16 · 66
PracticesBeta

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

Checks run against github.com/hafen/stlplus on 2026-10-21.

Continuous integration (1)
Travis CI (config file)
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing stlplus adds 2 packages (2 with compiled code, 2.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, yaImpute 277 KB.

Depends (0)
none
Imports (4)
latticeyaImputestatsRcpp
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
3direct
1indirect
Imports 3
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.5.1 (2016)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.2Latest
    record
    2026-04-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 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
  • 0.5.1
    record
    2016-01-06
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-01-06
Total releases
2 / 10 yrs
License
BSD_3_clause + file LICENSE OSI
Download size
22 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stlplus")
Hafen, R. (2026). stlplus: Enhanced Seasonal Decomposition of Time Series by Loess (Version 0.5.2) [Computer software]. https://doi.org/10.32614/CRAN.package.stlplus

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 stlplus version 0.5.2 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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