Skip to content

RcppArray

'Rcpp' Meets 'C++' Arrays

v0.3.0 · Nov 8, 2023 · GPL-2

Description

Interoperability between 'Rcpp' and the 'C++11' array and tuple types. Linking to this package allows fixed-length 'std::array' objects to be converted to and from equivalent R vectors, and 'std::tuple' objects converted to lists, via the as() and wrap() functions. There is also experimental support for 'std::span' from 'C++20'.

Downloads

CRAN

249

Last 30 days

20046th

615

Last 90 days

2.2K

Last year

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

r2u CRAN

24

Last 30 days

115

Last 90 days

401

Last year

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

autoCRAN

2

Last 7 days

5

Last 30 days

0

All-time

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

CRAN Check Status

13 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 OK
r-devel-linux-x86_64-fedora-gcc OK
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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/RcppArray.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

23 0 exported

Complexity

1 avg / 1 max

Call network

23 nodes / 19 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

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

Compare versions

Code

Structure

Lines of code

238

Files

14

Compiled share

64.3%

Has compiled src

Yes

Language breakdown

R 44 (18.5%)C/C++/src 153 (64.3%)Tests 4 (1.7%)Docs 37 (15.5%)

API

Exported functions

0

Internal functions

7

Testing & CI

Has tests

Yes

Test-to-code ratio

0.09

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

\dontrun example ratio

Roxygen coverage

Has pkgdown

No

NEWS present

Yes

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

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2023-02-01

Latest release

2023-11-08

Avg cadence

280 days

Cold removal rate

Dep drift

0

LOC over versions

v0.2.0: 191 LOCv0.3.0: 238 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp RcppArray

Version History

3 tracked
new 0.3.0 Mar 10, 2026
updated 0.3.0 ← 0.2.0 diff Nov 7, 2023
new 0.2.0 Jan 31, 2023