cffdrs
1.9.2Canadian Forest Fire Danger Rating System
Overview
This project provides a group of new functions to calculate the outputs of the two main components of the Canadian Forest Fire Danger Rating System (CFFDRS) Van Wagner and Pickett (1985) https://ostrnrcan-dostrncan.canada.ca/entities/publication/29706108-2891-4e5d-a59a-a77c96bc507c) at various time scales: the Fire Weather Index (FWI) System Wan Wagner (1985) https://ostrnrcan-dostrncan.canada.ca/entities/publication/d96e56aa-e836-4394-ba29-3afe91c3aa6c and the Fire Behaviour Prediction (FBP) System Forestry Canada Fire Danger Group (1992) https://cfs.nrcan.gc.ca/pubwarehouse/pdfs/10068.pdf. Some functions have two versions, table and raster based.
Install
Health
- OK2026-07-2213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- References docs
- 63%
Downloads
Repository
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/cffdrs/cffdrs_r on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 40 max
- Test cases
- 86 / 18.92 per code line
Test coverage
Line coverage
78%
Expression
73.3%
Tests / Examples
77.6% / 82% ex
Functions
75 14 exported
Complexity
3.7 avg / 40 max
Call network
75 nodes / 82 edges
Call graph
Open call graph →Lowest coverage
75 functions| Function | Cyclo | Coverage |
|---|---|---|
| gfmc exp | 15 | 0% |
| hffmc exp | 15 | 0% |
| .BEcalc | 1 | 0% |
| .BROScalc | 1 | 0% |
| .C6calc | 4 | 0% |
| .CFBcalc | 3 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| test_fbp | data.frame | 20 × 1 | in 2 packages |
| test_fwi | data.frame | 48 × 1 | – |
| test_gfmc | data.frame | 198 × 1 | – |
| test_hffmc | data.frame | 480 × 1 | – |
| test_lros | data.frame | 3 × 8 | – |
| test_pros | data.frame | 3 × 9 | – |
| test_sdmc | data.frame | 48 × 1 | – |
| test_wDC | data.frame | 2,192 × 1 | – |
| test_wDC_fs | data.frame | 8 × 1 | – |
People & History
13 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.9.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.9.02024-02-22 · diff ↗
- unarchivedReturned to CRAN2024-02-22
- archivedRemoved from CRAN2023-10-16requires archived package 'rgdal'
- RR 4.3.0 released · 2023-04-21
- 1.8.202022-08-11 · diff ↗
- unarchivedReturned to CRAN2022-08-11
- archivedRemoved from CRAN2022-07-21check problems were not corrected despite reminders
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.8.182020-06-03 · diff ↗
- unarchivedReturned to CRAN2020-06-03
- archivedRemoved from CRAN2020-04-25depends on archived package 'spatial.tools'
Show 15 earlier events
- RR 4.0.0 released · 2020-04-24
- 1.8.62019-05-15 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.8.52019-04-25 · diff ↗
- 1.8.42018-12-19 · diff ↗
- 1.8.12018-10-09 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.7.62017-04-06 · diff ↗
- 1.7.52016-09-13 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.7.32016-03-17 · diff ↗
- 1.7.12016-02-22 · diff ↗
- 1.72015-12-24
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-12-24
- Total releases
- 13 / 11 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 127 KB / 9 files
- Download size
- 4.6 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet