Skip to content

cffdrs

Canadian Forest Fire Danger Rating System

v1.9.2 · Aug 22, 2025 · GPL-2

Description

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.

Downloads

CRAN

1K

Last 30 days

3561st

3.1K

Last 90 days

12.3K

Last year

Trend: +6.5% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

26

Last 90 days

168

Last year

Trend: -88.9% (30d vs prior 30d)

autoCRAN

7

Last 7 days

34

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Brett Moore <Brett.Moore@nrcan-rncan.gc.ca>’

The BugReports field in DESCRIPTION has
  https://github.com/cffdrs/cffdrs_r/issues/new/choose
which should likely be
  https://github.com/cffdrs/cffdrs_r/issues/new/choose/issues
instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Brett Moore <Brett.Moore@nrcan-rncan.gc.ca>’

The BugReports field in DESCRIPTION has
  https://github.com/cffdrs/cffdrs_r/issues/new/choose
which should likely be
  https://github.com/cffdrs/cffdrs_r/issues/new/choose/issues
instead.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Brett Moore <Brett.Moore@nrcan-rncan.gc.ca>’

The BugReports field in DESCRIPTION has
  https://github.com/cffdrs/cffdrs_r/issues/new/choose
which should likely be
  https://github.com/cffdrs/cffdrs_r/issues/new/choose/issues
instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Brett Moore <Brett.Moore@nrcan-rncan.gc.ca>’

The BugReports field in DESCRIPTION has
  https://github.com/cffdrs/cffdrs_r/issues/new/choose
which should likely be
  https://github.com/cffdrs/cffdrs_r/issues/new/choose/issues
instead.

Line coverage

Expression

Tests / Examples

Functions

75 14 exported

Complexity

3.7 avg / 40 max

Call network

75 nodes / 82 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

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

Code

Structure

Lines of code

133,449

Files

224

Compiled share

0%

Has compiled src

No

Language breakdown

R 6,561 (4.9%)Tests 124,107 (93%)Docs 2,781 (2.1%)

API

Exported functions

14

Internal functions

61

Recent export changes

v1.9.0+14 fbp, fbpRaster, fire_season +11 more  −1 pattern:^[[:alpha:]]+

Testing & CI

Has tests

Yes

Test-to-code ratio

18.92

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

3.5

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2015-12-24

Latest release

2025-08-22

Avg cadence

193 days

Cold removal rate

100%

Dep drift

8

LOC over versions

v1.7: 3,139 LOCv1.7.1: 3,155 LOCv1.7.3: 4,825 LOCv1.7.5: 4,829 LOCv1.7.6: 4,829 LOCv1.8.1: 5,273 LOCv1.8.4: 5,282 LOCv1.8.5: 5,284 LOCv1.8.6: 5,284 LOCv1.8.18: 5,273 LOCv1.8.20: 5,448 LOCv1.9.0: 133,446 LOCv1.9.2: 133,449 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies data.table doParallel foreach geosphere sf terra cffdrs

Version History

14 tracked
new 1.9.2 Mar 10, 2026
updated 1.9.2 ← 1.9.0 diff Aug 21, 2025
updated 1.9.0 ← 1.8.20 diff Feb 21, 2024
updated 1.8.20 ← 1.8.18 diff Aug 10, 2022
updated 1.8.18 ← 1.8.6 diff Jun 2, 2020
updated 1.8.6 ← 1.8.5 diff May 14, 2019
updated 1.8.5 ← 1.8.4 diff Apr 24, 2019
updated 1.8.4 ← 1.8.1 diff Dec 18, 2018
updated 1.8.1 ← 1.7.6 diff Oct 8, 2018
updated 1.7.6 ← 1.7.5 diff Apr 5, 2017
updated 1.7.5 ← 1.7.3 diff Sep 12, 2016
updated 1.7.3 ← 1.7.1 diff Mar 16, 2016
updated 1.7.1 ← 1.7 diff Feb 21, 2016
new 1.7 Dec 23, 2015