Skip to content

baRulho

2.2.0Package record

Quantifying (Animal) Sound Degradation

0packages depend
4.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Intended to facilitate acoustic analysis of (animal) sound propagation experiments, which typically aim to quantify changes in signal structure when transmitted in a given habitat by broadcasting and re-recording animal sounds at increasing distances. The package offers a workflow with functions to prepare the data set for analysis as well as to calculate and visualize several degradation metrics, including blur ratio, signal-to-noise ratio, excess attenuation and envelope correlation among others (Dabelsteen et al 1993 doi:10.1121/1.406682).

Changes in 2.2.0

MINOR IMPROVEMENTS

  • Fix bug in spcc() in which the cor.method argument was ignored (always computed Pearson correlation)
  • Fix bug in tail_to_signal_ratio() that used the wrong dB scale (natural log instead of 20 * log10(), inconsistent with signal_to_noise_ratio() and excess_attenuation())
  • Fix bug in envelope_correlation()'s internal sliding-window search that never actually slid across candidate alignments
  • Fix bug in plot_degradation() and auto_realign() in which an internal dispatch issue caused some of their own argument validation checks to be silently skipped
  • Fix bug in synth_sounds() that crashed when called with a single frequency and a single duration
  • Fix bug in detection_distance() in which the wl argument was not reaching the internal peak-frequency calculation
  • Fix misspelled output column atmopheric.attenuation in attenuation() (now atmospheric.attenuation)
  • Fix several smaller documentation inconsistencies (incorrect argument defaults, mislocated columns, stale formulas)
  • Reformat all exported function documentation using markdown roxygen for a more consistent and readable reference site
  • Vignettes now pull their citation directly from inst/CITATION instead of hardcoded text, and no longer describe a stale version of the example data set

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.9 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.2.0
READMEYes · 797 wordsVignettesYes · 2 · dynamicNEWSYes · 33% structured · mentions 2.2.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
26 (1 internal)includes a package overview page
Examples that run
83%19 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 3 never run
Exported functions with examples
100%
Documented parameters
86%
Return-value docs
100%
Help pages citing references
88%

Downloads

4.3K
CRAN downloads in the past year
Rank #21,821 · ~12/day · ~358/mo
Daily download trend is not available in this view yet.
35630 days
61690 days
4.3K1 year
Compare downloads with other packages →
Also on248 r2u31 autocran

Repository

10Stars
2Forks
2Open issues
0Open PRs
0Releases
357Commits
8Commit identities
bioacousticsanimalacoustic-signalscranbehavior
357 commits · Last activity 2026-10-13 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
37
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-05 · 82026-07-07 · 10
PracticesBeta

12 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/ropensci/barulho on 2026-10-25.

Continuous integration (3)
GitHub ActionsR CMD check workflowtic

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conduct (inherited from ropensci)Contributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-13 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Research and citation (2)
CITATION.cffcodemeta.json
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-10-08
    Commits: at least 7 crediting it in the message
Models named in its commits
  • Claude Sonnet 57 commits · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing baRulho adds 67 packages (40 with compiled code, 83 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (3)
R >= 3.2.1warbleRohun
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2020)
Reviewer · added in 2.1.0
Reviewer · added in 2.1.0
Releases (14)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-10-09
  • 2.2.0Latest
    record
    2026-10-09 · current release · diff ↗
  • archivedRemoved from CRAN
    2026-08-22
    issues were not corrected in time
  • 2.1.7
    record
    2026-07-24 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • unarchivedReturned to CRAN
    2025-10-24
  • 2.1.6
    record
    2025-10-24 · diff ↗
  • archivedRemoved from CRAN
    2025-07-31
    requires archived package 'warbleR',
  • 2.1.5
    record
    2025-07-17 · diff ↗ ·
    added 1 export
    spot_ambient_noise
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.3
    record
    2025-01-25 · diff ↗
  • unarchivedReturned to CRAN
    2024-08-31
  • 2.1.2
    record
    2024-08-31 · diff ↗
  • archivedRemoved from CRAN
    2024-05-10
    issues were not corrected in time
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1.0
    record
    2024-04-21 · diff ↗ ·
    removed 5 exports
    atmospheric_attenuation, search_templates, spcc_align, spectral_blur_ratio, spectral_correlation
    added 13 exports
    add_noise, attenuation, auto_realign, detection_distance, find_markers, manual_realign, plot_aligned_sounds, plot_blur_ratio, plot_degradation, set_reference_sounds, spectrum_blur_ratio, spectrum_correlation, synth_sounds
Show 18 earlier eventsHide 18 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2022-03-01
  • 1.0.6
    record
    2022-03-01 · diff ↗ ·
    removed 1 export
    snr
  • archivedRemoved from CRAN
    2022-02-23
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.5
    record
    2021-04-21 · diff ↗
  • unarchivedReturned to CRAN
    2021-03-10
  • 1.0.4
    record
    2021-03-10 · diff ↗
  • archivedRemoved from CRAN
    2021-02-12
    requires archived package 'warbleR'
  • unarchivedReturned to CRAN
    2021-02-11
  • 1.0.3
    record
    2021-02-11 · diff ↗
  • archivedRemoved from CRAN
    2021-01-20
    requires archived package 'warbleR'
  • 1.0.2
    record
    2020-06-07 · diff ↗ ·
    added 3 exports
    noise_profile, signal_to_noise_ratio, tail_to_signal_ratio
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    record
    2020-03-09 · diff ↗ ·
    added 2 exports
    align_test_files, search_templates
  • 1.0.0
    record
    2020-02-22
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-02-22
Total releases
14 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.2.1
Bundled data
534 KB / 2 files
Download size
4.5 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("baRulho")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1111/2041-210x.14481.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for baRulho version 2.2.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy