Skip to content

S4Arrays

Bioc current

Foundation of array-like containers in Bioconductor

v1.12.0 · software · Artistic-2.0

Release Lineage

Entered 3.17 · Apr 26, 2023

Current · Requires R 4.6

1.0 In 7 of 49 releases 3.23

Description

The S4Arrays package defines the Array virtual class to be extended by other S4 classes that wish to implement a container with an array-like semantic. It also provides: (1) low-level functionality meant to help the developer of such container to implement basic operations like display, subsetting, or coercion of their array-like objects to an ordinary matrix or array, and (2) a framework that facilitates block processing of array-like objects (typically on-disk objects).

Test coverage

Line coverage

Expression

Tests / Examples

Functions

214 27 exported

Complexity

2.9 avg / 12 max

Call network

214 nodes / 178 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,633

Files

61

Compiled share

12%

Has compiled src

Yes

Language breakdown

R 4,518 (52.3%)C/C++/src 1,037 (12%)Tests 475 (5.5%)Docs 2,473 (28.6%)Vignettes 130 (1.5%)

API

Exported functions

53

Internal functions

171

Recent export changes

v3.21+4 as_tile, kronecker2, arep_times +1 more
v3.20+8 subset_Array_by_logical_array, subset_Array_by_Lindex, subset_Array_by_Mindex +5 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

28.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.3.0

System requirements

C++ standard

License

Artistic-2.0

License flags

SPDX valid, OSI approved

History

Versions

7

First release

2023-08-30

Latest release

2026-04-28

Avg cadence

172 days

Cold removal rate

Dep drift

1

LOC over versions

v3.17: 6,921 LOCv3.18: 7,094 LOCv3.19: 7,107 LOCv3.20: 7,728 LOCv3.21: 8,577 LOCv3.22: 8,633 LOCv3.23: 8,633 LOC

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

Documentation

Documentation
READMEYes · 60 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
71%
Return-value docs
76%
References docs
0%

Topics

Depended on by (15)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("S4Arrays")
Pagès, H., & Serizay, J. (2026). S4Arrays: Foundation of array-like containers in Bioconductor (Version 1.12.0) [Computer software]. https://bioconductor.org/packages/S4Arrays

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 S4Arrays version 1.12.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