Skip to content

vecvec

1.4.0Package record

Construct Mixed Type Data Structures with Vectors of Vectors

2packages depend
22.4Kdownloads / year
84.6%test coverage
13/13flavors OK

Overview

About

Mixed type vectors are useful for combining semantically similar classes. Some examples of semantically related classes include time across different granularities (e.g. daily, monthly, annual) and probability distributions (e.g. Normal, Uniform, Poisson). These groups of vector types typically share common statistical operations which vary in results with the attributes of each vector. The 'vecvec' data structure facilitates efficient storage and computation across multiple vectors within the same object.

Changes in 1.4.0

Improvements

  • Restoring a vecvec from its vctrs proxy is much faster (no longer quadratic in its length). Rows are now grouped by the identity of their slots rather than hashing their contents once per row.
  • vecvec_apply() now splices vecvec results from .f into the result instead of nesting them, so unvecvec() simplifies them directly.

Bug fixes

  • vec_c() and vec_rbind() (and so dplyr::bind_rows()) no longer reorder elements when the inputs' storage is interleaved, e.g. vec_c(a, b, a) previously returned the elements of b last.
  • c() of a single zero-length vecvec (e.g. c(x[0])) no longer errors with "Underlying data must be <integer> not <list>".
Show all changes in 1.4.0Hide the rest of the changes in 1.4.0
  • duplicated(), anyDuplicated() and unique() now detect duplicates among elements whose indices point at the same stored value, e.g. after x[c(1, 1)]. Missing indices are now duplicates of each other rather than NA.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.0
READMEYes · 260 wordsVignettesNoNEWSYes · 100% structured · mentions 1.4.0Citation fileNoWebsiteYes · pkgdown
Help pages
11 (1 internal)includes a package overview page
Examples that run
83%5 run in a plain check · 1 never run
Exported functions with examples
60%
Documented parameters
94%
Return-value docs
90%
Help pages citing references
0%

Downloads

22.4K
CRAN downloads in the past year
Rank #1,407 · ~61/day · ~1.9K/mo
Daily download trend is not available in this view yet.
12.2K30 days
19.2K90 days
22.4K1 year
Compare downloads with other packages →
Also on382 r2u6 autocran

Repository

4Stars
1Forks
5Open issues
0Open PRs
8Releases
256Commits
2Commit identities
256 commits · Last activity 2026-10-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-29 · 42026-07-07 · 4
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/mitchelloharawild/vecvec on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmd

GitHub Pages site last deployed 2026-10-11 · The repository has a site deploy workflow

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing vecvec adds 6 packages (5 with compiled code, 2.8 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (0)
none
Imports (5)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
2direct
12indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Releases (8)

Pick two releases to compare their code metrics.

  • 1.4.0Latest
    record
    2026-10-12 · current release · diff ↗ ·
    added 1 export
    vecvec_abind
    ·
    26 hours in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-11 06:41 to 2026-10-12 08:29 UTC, in 6 readings.
  • 1.3.0
    record
    2026-08-20 · diff ↗ ·
    added 1 export
    vecvec_mapply
  • 1.2.0
    record
    2026-06-23 · diff ↗
  • 1.1.0
    record
    2026-06-04 · diff ↗
  • 1.0.0
    record
    2026-04-27 · diff ↗ ·
    removed 1 export
    new_vecvec
    added 7 exports
    class_vecvec, cor, cov, is_vecvec, var, vecvec_apply_fn, vecvec_register
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1
    record
    2026-04-08 · diff ↗
  • 0.2.0
    record
    2025-09-18 · diff ↗ ·
    added 1 export
    vecvec_apply
  • 0.1.0
    record
    2025-06-29
  • R
    R 4.5.0 released · 2025-04-11
Across CRAN, the median accepted release of the past year spent 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2025-06-29
Total releases
8 / 1 yrs
License
MIT + file LICENSE OSI
Download size
53 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("vecvec")
O'Hara-Wild, M. (2026). vecvec: Construct Mixed Type Data Structures with Vectors of Vectors (Version 1.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.vecvec

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 vecvec version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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