Skip to content

sarp.snowprofile

Snow Profile Analysis for Snowpack and Avalanche Research

v1.4.1 · Jan 14, 2026 · CC BY-SA 4.0

Description

Analysis and plotting tools for snow profile data produced from manual snowpack observations and physical snowpack models. The functions in this package support snowpack and avalanche research by reading various formats of data (including CAAML, SMET, generic csv, and outputs from the snow cover model SNOWPACK), manipulate the data, and produce graphics such as stratigraphy and time series profiles. Package developed by the Simon Fraser University Avalanche Research Program <http://www.avalancheresearch.ca>. Graphics apply visualization concepts from Horton, Nowak, and Haegeli (2020, <doi:10.5194/nhess-20-1557-2020>).

Downloads

CRAN

577

Last 30 days

6314th

1.7K

Last 90 days

4.8K

Last year

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

r2u CRAN

53

Last 30 days

114

Last 90 days

200

Last year

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

autoCRAN

4

Last 7 days

14

Last 30 days

1

All-time

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

CRAN Check Status

13 OK
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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

9,422

Files

150

Compiled share

0%

Has compiled src

No

Language breakdown

R 5,944 (63.1%)Docs 3,322 (35.3%)Vignettes 156 (1.7%)

API

Exported functions

51

Internal functions

28

Recent export changes

v1.4.1+5 assignDatetags, codes_pro, deriveBDate +2 more
v1.3.1+4 computeSLABrho, computeSLABrhogs, getColoursPercentage +1 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

96%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

14.3%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.2

System requirements

C++ standard

License

CC BY-SA 4.0

License flags

not SPDX, not OSI

History

Versions

5

First release

2020-07-25

Latest release

2026-01-14

Avg cadence

390 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v1.0.0: 4,911 LOCv1.2.1: 7,617 LOCv1.3.1: 8,487 LOCv1.3.2: 8,551 LOCv1.4.1: 9,422 LOC

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

Reverse Dependencies (1)

Dependency Network

Dependencies Reverse dependencies data.table xml2 sarp.snowprofile.pyface sarp.snowprofile

Version History

6 tracked
new 1.4.1 Mar 10, 2026
updated 1.4.1 ← 1.3.2 diff Jan 13, 2026
updated 1.3.2 ← 1.3.1 diff Mar 7, 2023
updated 1.3.1 ← 1.2.1 diff Aug 4, 2022
updated 1.2.1 ← 1.0.0 diff Feb 9, 2022
new 1.0.0 Jul 24, 2020