Work with Data from High-Resolution Biologging Tags
Overview
High-resolution movement-sensor tags typically include accelerometers to measure body posture and sudden movements or changes in speed, magnetometers to measure direction of travel, and pressure sensors to measure dive depth in aquatic or marine animals. The sensors in these tags usually sample many times per second. Some tags include sensors for speed, turning rate (gyroscopes), and sound. This package provides software tools to facilitate calibration, processing, and analysis of such data. Tools are provided for: data import/export; calibration (from raw data to calibrated data in scientific units); visualization (for example, multi-panel time-series plots); data processing (such as event detection, calculation of derived metrics like jerk and dynamic acceleration, dive detection, and dive parameter calculation); and statistical analysis (for example, track reconstruction, a rotation test, and Mahalanobis distance analysis).
This release removes a dependency, speeds up filtering and decimation via C++,
and fixes several bugs.
Breaking changes
m_dist()documentation clarified and input names changed to match rest oftagtools(all now snake case); unused inputsexpStartandexpEndremoved. To update old code, change input names:smoothDurtosmooth_dur,cumSumtocum_sum, andbaselineStart,baselineEnd, andBL_COVtobaseline_start,baseline_end, andbl_cov.
New features
- read_cats()` now can now read deployments with multiple csv files.
dec_dc()now implements convolution via RCppArmadillo, which speeds it up.gsignalpackage dependency replacessignal, for speed and flexibility.
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
prh_predictor1()andprh_predictor2()interactivity is now optional, toggled via a new input argument.
Minor improvements and fixes
latex2exppackage dependency removed, as requested by CRAN Team.m_dist()documentation clarified and input names changed to match rest oftagtools(all now snake case); unused inputsexpStartandexpEndremoved. To update old code, change input names:smoothDurtosmooth_dur,cumSumtocum_sum, andbaselineStart,baselineEnd, andBL_COVtobaseline_start,baseline_end, andbl_cov.norm2()checks that output is a column vector (1-column matrix).o2p()andread_cats()helper functions moved outside function definitions.save_nc()now accepts dots input.add_nc()works correctly even if sensor data stream namevnamenot input.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 89 (1 internal)includes a package overview page
- Examples that run
- 99%72 run in a plain check · 1 never run
- Exported functions with examples
- 88%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 1%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/animaltags/tagtools_r on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-13
pkgdown site last built 2025-12-01, before release 0.3.0 (2025-12-18)
Dependencies
Installing tagtools adds 84 packages (46 with compiled code, 71 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.0Latest
- RR 4.5.0 released · 2025-04-11
- 0.2.0
- RR 4.4.0 released · 2024-04-24
- 0.1.02023-07-18
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-07-18
- Total releases
- 3 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 572 KB / 2 files
- Download size
- 947 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tagtools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.