Skip to content

bfast

1.7.2

Breaks for Additive Season and Trend

2packages depend
23.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Dainius MasiliūnasFirst published 2009-12-1411 releasesCRAN page ↗GitHub ↗

Decomposition of time series into trend, seasonal, and remainder components with methods for detecting and characterizing abrupt changes within the trend and seasonal components. 'BFAST' can be used to analyze different types of satellite image time series and can be applied to other disciplines dealing with seasonal or non-seasonal time series, such as hydrology, climatology, and econometrics. The algorithm can be extended to label detected changes with information on the parameters of the fitted piecewise linear models. 'BFAST' monitoring functionality is described in Verbesselt et al. (2010) doi:10.1016/j.rse.2009.08.014. 'BFAST monitor' provides functionality to detect disturbance in near real-time based on 'BFAST'- type models, and is described in Verbesselt et al. (2012) doi:10.1016/j.rse.2012.02.022. 'BFAST Lite' approach is a flexible approach that handles missing data without interpolation, and will be described in an upcoming paper. Furthermore, different models can now be used to fit the time series data and detect structural changes (breaks).

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.35
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-02
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
88%
Return-value docs
89%
References docs
35%

Downloads

23.7K
CRAN downloads in the past year
Rank #3,485 · ~65/day · ~2K/mo
Daily download trend is not available in this view yet.
82430 days
3.3K90 days
23.7K1 year
Compare downloads with other packages →
Also on534 r2u76 autocran77 c2d4u

Repository

Repository
53Stars
16Forks
32Open issues
0Open PRs
5Releases
180Commits
8Contributors
License GPL-2.0 · 180 commits · Last activity 2026-03-31 · 0% stars, 30d

Stars over time

2025-07-03 · 472026-07-07 · 53

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/bfast2/bfast on 2026-07-19.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.0.0strucchangeRcpp
Imports (6)
LinkingTo (1)
Suggests (4)
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Code Composition
R 2,671 (53%)Rd 1,395 (28%)Other 934 (18%)C++ 69 (1%)
Code characteristics
Object systems
S323
Cyclomatic complexity
3.0 median / 97 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

49 10 exported

Complexity

7.7 avg / 97 max

Call network

49 nodes / 28 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 4
NameClassRows × ColsAlso ships in
datesDate
harvestts
ndvits
somdata.frame263 × 3

People & History

People (9)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author · added in 1.6.0
Author · added in 1.4.3
Contributors (5)
Contributor · added in 1.4.3
Contributor · added in 1.6.0
Contributor · added in 1.6.1
Contributor
Listed in earlier versions (7)
no longer listed · 1.1 to 1.2-1
no longer listed · 1.4.3 to 1.4.4
no longer listed · 1.6.0 to 1.7.2
no longer listed · 1.6.0 to 1.6.1
no longer listed · 1.6.0 to 1.6.1
no longer listed · 1.7.0 to 1.7.2
no longer listed · 1.7.0 to 1.7.2
Package Timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.2Latest
    2026-04-01 · current release · diff ↗
  • 1.7.1
    2025-08-18 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7.0
    2024-10-22 · diff ↗
  • 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
  • 1.6.1
    2021-05-10 · diff ↗
  • 1.6.0
    2021-05-03 · diff ↗
  • 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
Show 15 earlier events
  • R
    R 3.2.0 released · 2015-04-16
  • 1.5.7
    2014-08-28 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.4.4
    2013-03-27 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.4.3
    2012-02-17 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 1.2-1
    2011-04-24 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 1.2
    2011-02-25 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 1.1
    2009-12-14
  • R
    R 2.10.0 released · 2009-10-26

Package metadata

First published
2009-12-14
Total releases
11 / 17 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.0
Bundled data
9.7 KB / 5 files
Download size
154 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →