Skip to content

switchBox

Bioc current

Utilities to train and validate classifiers based on pair switching using the K-Top-Scoring-Pair (KTSP) algorithm

v1.48.0 · software · GPL-2

Release Lineage

Entered 3.0 · Oct 14, 2014

Current · Requires R 4.6

1.0 In 24 of 49 releases 3.23

Description

The package offer different classifiers based on comparisons of pair of features (TSP), using various decision rules (e.g., majority wins principle).

Test coverage

Line coverage

Expression

Tests / Examples

Functions

76 30 exported

Complexity

3.8 avg / 15 max

Call network

76 nodes / 73 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

6,592

Files

55

Compiled share

9.3%

Has compiled src

Yes

Language breakdown

R 2,219 (33.7%)C/C++/src 612 (9.3%)Docs 2,819 (42.8%)Vignettes 942 (14.3%)

API

Exported functions

30

Internal functions

36

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Roxygen coverage

86.7%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.13.1

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

24

First release

2014-10-13

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

Dep drift

2

LOC over versions

v3.0: 3,295 LOCv3.1: 3,296 LOCv3.2: 3,296 LOCv3.3: 3,296 LOCv3.4: 6,591 LOCv3.5: 6,591 LOCv3.6: 6,591 LOCv3.7: 6,591 LOCv3.8: 6,592 LOCv3.9: 6,592 LOCv3.10: 6,592 LOCv3.11: 6,592 LOCv3.12: 6,592 LOCv3.13: 6,592 LOCv3.14: 6,592 LOCv3.15: 6,592 LOCv3.16: 6,592 LOCv3.17: 6,592 LOCv3.18: 6,592 LOCv3.19: 6,592 LOCv3.20: 6,592 LOCv3.21: 6,592 LOCv3.22: 6,592 LOCv3.23: 6,592 LOC

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

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
95%
Return-value docs
96%
References docs
100%

Topics

Depended on by (2)

Bioconductor (1)

CRAN (1)

People

Bahman Afsari

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("switchBox")

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

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