Spatial Analysis in Archaeology from Refitting Fragments
Overview
Methods to analyse spatial units in archaeology from the refitting relationships between fragments of objects scattered in these units (e.g. stratigraphic layers). Graphs are used to model archaeological observations. The package is mainly based on the 'igraph' package for graph analysis. Functions can: 1) create, manipulate, visualise, and simulate fragmentation graphs, 2) measure the cohesion and admixture of archaeological spatial units, and 3) characterise the topology of a specific set of refitting relationships. A series of published empirical datasets is included. Documentation about 'archeofrag' is provided by a vignette and by the accompanying scientific papers: Plutniak (2021, Journal of Archaeological Science, doi:10.1016/j.jas.2021.105501) and Plutniak (2022, Journal of Open Source Software, doi:10.21105/joss.04335). This package is complemented by the 'archeofrag.gui' R package, a companion GUI application available at https://analytics.huma-num.fr/archeofrag/.
Released: 2026-XX-XX
- New method to compute a cohesion value for a graph with one spatial unit, implemented in
frag.layers.cohesion(). It uses a new internal.frag.graph.mirror()function. - Graph having only one or no spatial unit (i.e. 'layer.attr' vertex attribute) are now supported.
- Node size in
frag.graph.plot()can now be controlled with the 'node.size' parameter. - Addition of new datasets: 'Barger Gulch', 'Bessinaudes', 'Champ Parel 3', 'Chez Thuilet', 'Peyrazet', and 'Rue Auguste Isaac 35'.
- Datasets include additional metadata: 'observed.spatial.units' (number of documented archaeologically relevant observed spatial units), 'doi' (digital object identifier of the published dataset).
- Correct the error in
frag.graph.plot()when coordinates variable were 'x', 'y', 'z'.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-06
- OK14 OK2026-03-10
Documentation
- Help pages
- 46includes a package overview page
- Examples that run
- 100%45 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 70
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/sebastien-plutniak/archeofrag on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows
Dependencies
Installing archeofrag adds 9 packages (6 with compiled code, 8.0 MB of source tarballs). Heaviest: igraph 4.8 MB, vctrs 1.0 MB, rlang 766 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.3.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.2.4
- 1.2.32025-09-27 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.2.02025-03-27 · diff ↗
- 1.1.02025-03-07 · diff ↗
- 1.0.0
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.8.22022-09-12 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.82022-03-09 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.72021-04-26 · diff ↗ ·
added 4 exports
frag.observer.failure, frag.simul.compare, frag.simul.summarise, make_sr_graph - 0.6.02020-11-27
Show 1 earlier eventHide 1 earlier event
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-11-27
- Total releases
- 10 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 301 KB / 23 files
- Download size
- 445 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("archeofrag")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.jas.2021.105501.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.