Skip to content

stlplus

Enhanced Seasonal Decomposition of Time Series by Loess

v0.5.1 · Jan 6, 2016 · BSD_3_clause + file LICENSE

Description

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.

Downloads

1.4K

Last 30 days

3161st

1.4K

Last 90 days

1.4K

Last year

CRAN Check Status

1 ERROR
4 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (15 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘stlplus/libs/stlplus.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("stlplus")
  Loading required package: stlplus
  Saving _problems/tests-32.R
  Saving _problems/tests-33.R
  Saving _problems/tests-40.R
  Saving _problems/tests-41.R
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 3 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('tests.R:32:3'): stlplus matches stl ───────────────────────────────
  Expected `mean(abs(seasonal(x1) - seasonal(x2))) < 1e-12` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('tests.R:33:3'): stlplus matches stl ───────────────────────────────
  Expected `mean(abs(trend(x1) - trend(x2))) < 1e-12` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('tests.R:40:3'): stlplus matches stl ───────────────────────────────
  Expected `mean(abs(seasonal(x1) - seasonal(x2))) < 1e-12` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('tests.R:41:3'): stlplus matches stl ───────────────────────────────
  Expected `mean(abs(trend(x1) - trend(x2))) < 1e-12` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 3 ]
  Error:
  ! Test failures.
  Execution halted
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘stlplus/libs/stlplus.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 9 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-fedora-clang

compiled code

File ‘stlplus/libs/stlplus.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘stlplus/libs/stlplus.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory

Reverse Dependencies (5)

suggests

Dependency Network

Dependencies Reverse dependencies lattice yaImpute Rcpp ATAforecasting KarsTS TTAinterfaceTrendAnalysis tsaux bfast stlplus

Version History

new 0.5.1 Mar 9, 2026