Skip to content

provenance

Statistical Toolbox for Sedimentary Provenance Analysis

v4.4 · Jan 12, 2025 · GPL-2

Description

Bundles a number of established statistical methods to facilitate the visual interpretation of large datasets in sedimentary geology. Includes functionality for adaptive kernel density estimation, principal component analysis, correspondence analysis, multidimensional scaling, generalised procrustes analysis and individual differences scaling using a variety of dissimilarity measures. Univariate provenance proxies, such as single-grain ages or (isotopic) compositions are compared with the Kolmogorov-Smirnov, Kuiper, Wasserstein-2 or Sircombe-Hazelton L2 distances. Categorical provenance proxies such as chemical compositions are compared with the Aitchison and Bray-Curtis distances,and count data with the chi-square distance. Varietal data can either be converted to one or more distributional datasets, or directly compared using the multivariate Wasserstein distance. Also included are tools to plot compositional and count data on ternary diagrams and point-counting data on radial plots, to calculate the sample size required for specified levels of statistical precision, and to assess the effects of hydraulic sorting on detrital compositions. Includes an intuitive query-based user interface for users who are not proficient in R.

Downloads

CRAN

500

Last 30 days

8048th

1K

Last 90 days

4.8K

Last year

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

r2u CRAN

0

Last 30 days

23

Last 90 days

96

Last year

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

autoCRAN

1

Last 7 days

16

Last 30 days

0

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Pieter Vermeesch <p.vermeesch@ucl.ac.uk>’

Reading Rd files failed with message:
  cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

8,090

Files

108

Compiled share

0%

Has compiled src

No

Language breakdown

R 5,355 (66.2%)Docs 2,735 (33.8%)

API

Exported functions

37

Internal functions

152

Recent export changes

v4.2−3 central, diss, radialplot
v4.1+1 Wasserstein.diss

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

91.9%

\dontrun example ratio

1.8%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

25%

Unsafe pattern score

21

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

28

First release

2015-05-26

Latest release

2025-01-12

Avg cadence

69 days

Cold removal rate

100%

Dep drift

5

LOC over versions

v0.1: 2,166 LOCv0.2: 2,200 LOCv0.3: 2,243 LOCv0.5: 3,276 LOCv0.6: 3,557 LOCv1.0: 3,633 LOCv1.1: 4,431 LOCv1.2: 4,996 LOCv1.3: 5,031 LOCv1.4: 5,032 LOCv1.5: 5,140 LOCv1.6: 5,179 LOCv1.7: 5,270 LOCv1.8: 5,269 LOCv1.9: 5,392 LOCv2.0: 6,530 LOCv2.1: 6,674 LOCv2.2: 6,696 LOCv2.3: 6,754 LOCv2.4: 7,078 LOCv3.0: 7,174 LOCv3.2: 7,174 LOCv3.3: 7,178 LOCv4.0: 7,676 LOCv4.1: 8,070 LOCv4.2: 8,068 LOCv4.3: 8,087 LOCv4.4: 8,090 LOC

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

Dependency Network

Dependencies Reverse dependencies IsoplotR MASS provenance

Version History

29 tracked
new 4.4 Mar 10, 2026
updated 4.4 ← 4.3 diff Jan 11, 2025
updated 4.3 ← 4.2 diff May 4, 2024
updated 4.2 ← 4.1 diff Aug 27, 2023
updated 4.1 ← 4.0 diff Mar 2, 2023
updated 4.0 ← 3.3 diff Jun 17, 2022
updated 3.3 ← 3.2 diff May 3, 2021
updated 3.2 ← 3.0 diff Apr 2, 2021
updated 3.0 ← 2.4 diff Feb 23, 2021
updated 2.4 ← 2.3 diff Mar 18, 2020
updated 2.3 ← 2.2 diff Jun 5, 2019
updated 2.2 ← 2.1 diff Oct 5, 2018
updated 2.1 ← 2.0 diff Aug 2, 2018
updated 2.0 ← 1.9 diff Apr 23, 2018
updated 1.9 ← 1.8 diff Jan 2, 2018