Skip to content

baldur

Bayesian Hierarchical Modeling for Label-Free Proteomics

v0.0.4 · Nov 9, 2025 · MIT + file LICENSE

Description

Statistical decision in proteomics data using a hierarchical Bayesian model. There are two regression models for describing the mean-variance trend, a gamma regression or a latent gamma mixture regression. The regression model is then used as an Empirical Bayes estimator for the prior on the variance in a peptide. Further, it assumes that each measurement has an uncertainty (increased variance) associated with it that is also inferred. Finally, it tries to estimate the posterior distribution (by Hamiltonian Monte Carlo) for the differences in means for each peptide in the data. Once the posterior is inferred, it integrates the tails to estimate the probability of error from which a statistical decision can be made. See Berg and Popescu for details (<doi:10.1016/j.mcpro.2023.100658>).

Downloads

CRAN

347

Last 30 days

12716th

779

Last 90 days

3.2K

Last year

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

r2u CRAN

45

Last 30 days

163

Last 90 days

482

Last year

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

autoCRAN

10

Last 7 days

53

Last 30 days

0

All-time

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

CRAN Check Status

2 NOTE
11 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 NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
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 details (2 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 95.4Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  93.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 97.4Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  95.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.3Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    libs   3.4Mb
ERROR 8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/baldur.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 95.4Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  93.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 97.4Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  95.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.3Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    libs   3.4Mb
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 95.4Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  93.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 97.4Mb
  sub-directories of 1Mb or more:
    data   1.2Mb
    libs  95.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.3Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    libs   3.4Mb

Code

Structure

Lines of code

6,508

Files

98

Compiled share

40.7%

Has compiled src

Yes

Language breakdown

R 1,905 (29.3%)C/C++/src 2,651 (40.7%)Docs 1,168 (17.9%)Vignettes 784 (12%)

API

Exported functions

18

Internal functions

34

Recent export changes

v0.0.1+18 %>%, calculate_mean_sd_trends, empirical_bayes +15 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

100%

\dontrun example ratio

0%

Roxygen coverage

94.4%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

83.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.2.0

System requirements

1

C++ standard

C++17

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2023-05-16

Latest release

2025-11-09

Avg cadence

109 days

Cold removal rate

Dep drift

2

LOC over versions

v0.0.1: 6,547 LOCv0.0.2: 6,546 LOCv0.0.3: 6,577 LOCv0.0.4: 6,508 LOC

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

Dependency Network

Dependencies Reverse dependencies dplyr magrittr purrr (>= 0.3.4) Rcpp RcppParallel rstan (>= 2.26.0) rstantools stringr tidyr rlang Rdpack multidplyr ggplot2 tibble viridisLite +1 more dependencies baldur

Version History

5 tracked
new 0.0.4 Mar 10, 2026
updated 0.0.4 ← 0.0.3 diff Nov 8, 2025
updated 0.0.3 ← 0.0.2 diff Sep 17, 2023
updated 0.0.2 ← 0.0.1 diff Sep 1, 2023
new 0.0.1 May 15, 2023