trendseries
Extract Trends from Time Series
Description
Extract trends from monthly and quarterly economic time series. Provides two main functions: augment_trends() for pipe-friendly 'tibble' workflows and extract_trends() for direct time series analysis. Includes established econometric filters such as Hodrick-Prescott (HP), Baxter-King, Christiano-Fitzgerald, and Hamilton, alongside moving averages and smoothing methods. Smart defaults are tuned for common economic frequencies following Ravn and Uhlig (2002) <doi:10.1162/003465302317411604>.
Downloads
512
Last 30 days
7746th
1.4K
Last 90 days
2.5K
Last year
Trend: -11.3% (30d vs prior 30d)
1
Last 30 days
39
Last 90 days
78
Last year
Trend: -94.4% (30d vs prior 30d)
4
Last 7 days
27
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 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 | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | 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 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... sh: 1: cannot create /tmp/Rtmp0Pxzwn/file1fffe4343c1975: No space left on device Warning in file(con, "r") : cannot open file '/tmp/Rtmp0Pxzwn/file1fffe4343c1975': No such file or directory Error in file(con, "r") : cannot open the connection Calls: <Anonymous> -> cat -> readLines -> file Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
6,763
Files
73
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
5
Internal functions
49
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.54
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1.0
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
2
First release
2025-11-12
Latest release
2026-05-02
Avg cadence
171 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.
Reverse Dependencies (1)
suggests
Dependency Network
Version History
2 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Nov 12, 2025. Releases before tracking aren’t shown.