Skip to content

CompoundDb

Bioc current

Creating and Using (Chemical) Compound Annotation Databases

v1.16.0 · software · Artistic-2.0

Release Lineage

Entered 3.15 · Apr 27, 2022

Current · Requires R 4.6

1.0 In 9 of 49 releases 3.23

Description

CompoundDb provides functionality to create and use (chemical) compound annotation databases from a variety of different sources such as LipidMaps, HMDB, ChEBI or MassBank. The database format allows to store in addition MS/MS spectra along with compound information. The package provides also a backend for Bioconductor's Spectra package and allows thus to match experimetal MS/MS spectra against MS/MS spectra in the database. Databases can be stored in SQLite format and are thus portable.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

102 30 exported

Complexity

3.1 avg / 16 max

Call network

102 nodes / 106 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

10,570

Files

74

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,777 (45.2%)Tests 2,879 (27.2%)Docs 1,798 (17%)Vignettes 1,116 (10.6%)

API

Exported functions

30

Internal functions

72

Recent export changes

v3.22+1 addJoinDefinition

Testing & CI

Has tests

Yes

Test-to-code ratio

0.60

testthat edition

CI present

Yes

CI type

["github-actions"]

PR gated

Yes

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

50%

Unsafe pattern score

0

Dep constraint coverage

9.5%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1

System requirements

C++ standard

License

Artistic-2.0

License flags

SPDX valid, OSI approved

History

Versions

9

First release

2022-09-01

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

Dep drift

3

LOC over versions

v3.15: 8,494 LOCv3.16: 9,164 LOCv3.17: 9,287 LOCv3.18: 9,287 LOCv3.19: 9,287 LOCv3.20: 9,667 LOCv3.21: 9,983 LOCv3.22: 10,567 LOCv3.23: 10,570 LOC

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

Documentation

Documentation
READMEYes · 74 wordsVignettesYes · dynamicpkgdown siteYesNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
8%

Topics

Depended on by (5)

CRAN (1)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CompoundDb")
Rainer, J., Arora, P., Badia, J. M., Gine, R., Stanstrup, J., & Vicini, A. (2026). CompoundDb: Creating and Using (Chemical) Compound Annotation Databases (Version 1.16.0) [Computer software]. https://bioconductor.org/packages/CompoundDb

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 CompoundDb version 1.16.0 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, 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