Skip to content

struct

Bioc current

Statistics in R Using Class-based Templates

v1.24.0 · Package record · software · GPL-3

Release Lineage

Entered 3.11 · Apr 28, 2020

Current · Requires R 4.6

1.0 In 13 of 49 releases 3.23

Description

Defines and includes a set of class-based templates for developing and implementing data processing and analysis workflows, with a strong emphasis on statistics and machine learning. The templates can be used and where needed extended to 'wrap' tools and methods from other packages into a common standardised structure to allow for effective and fast integration. Model objects can be combined into sequences, and sequences nested in iterators using overloaded operators to simplify and improve readability of the code. Ontology lookup has been integrated and implemented to provide standardised definitions for methods, inputs and outputs wrapped using the class-based templates.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

43 24 exported

Complexity

2.7 avg / 24 max

Call network

43 nodes / 24 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

8,416

Files

100

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,343 (51.6%)Tests 799 (9.5%)Docs 2,560 (30.4%)Vignettes 714 (8.5%)

API

Exported functions

67

Internal functions

19

Recent export changes

v3.23+1 ontology_online  −7 entity_stato, enum_stato, stato 4 more
v3.19+2 .struct_class, get_description

Testing

Has tests

Yes

Test-to-code ratio

0.18

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

8

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

–

C++ standard

–

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2020-04-27

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

100%

Dep drift

5

LOC over versions

v3.11: 6,759 LOCv3.12: 7,344 LOCv3.13: 7,344 LOCv3.14: 8,321 LOCv3.15: 8,390 LOCv3.16: 8,390 LOCv3.17: 8,390 LOCv3.18: 8,390 LOCv3.19: 8,562 LOCv3.20: 8,562 LOCv3.21: 8,562 LOCv3.22: 8,562 LOCv3.23: 8,416 LOC

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

Documentation

In the Bioconductor 3.23 release
READMENoVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
66 (2 internal)includes a package overview page
Examples that run
93%51 run in a plain check · 4 never run
Exported functions with examples
89%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
0%

Repository practices

Bioconductor git repository

Checks read the Bioconductor git repository (git.bioconductor.org), branch RELEASE_3_23.

2 practices detected in the Bioconductor git repository

Continuous integration (2)
GitHub ActionsPR checks

Topics

Maintainer
Gavin Rhys Lloyd

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (3)

People

Cite

Cite this package

Run in R for the authors' entry:

citation("struct")

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

It points to 10.1093/bioinformatics/btaa1031.

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 struct version 1.24.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