{
  "_id": "6a4ba9bea6574ff277f9ca08",
  "Package": "sparsevctrs",
  "Title": "Sparse Vectors for Use in Data Frames",
  "Version": "0.3.5.9000",
  "Authors@R": "c(\nperson(\"Emil\", \"Hvitfeldt\", , \"emil.hvitfeldt@posit.co\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0679-1945\")),\nperson(\"Davis\", \"Vaughan\", , \"davis@posit.co\", role = \"ctb\"),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"), comment = c(ROR = \"03wc8by49\"))\n)",
  "Description": "Provides sparse vectors powered by ALTREP (Alternative\nRepresentations for R Objects) that behave like regular\nvectors, and can thus be used in data frames. Also provides\ntools to convert between sparse matrices and data frames with\nsparse columns and functions to interact with sparse vectors.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/r-lib/sparsevctrs,\nhttps://r-lib.github.io/sparsevctrs/",
  "BugReports": "https://github.com/r-lib/sparsevctrs/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate, rmarkdown, lobstr,\nggplot2, bench, tidyr, ggbeeswarm",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/usethis/last-upkeep": "2025-05-25",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-01-26 23:49:03 UTC",
  "RemoteUrl": "https://github.com/r-lib/sparsevctrs",
  "RemoteRef": "HEAD",
  "RemoteSha": "21538a1d5ef917b7141466582a25501cd82c2b87",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-06 12:58:49 UTC",
    "User": "root"
  },
  "Author": "Emil Hvitfeldt [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0679-1945>),\nDavis Vaughan [ctb],\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)",
  "Maintainer": "Emil Hvitfeldt <emil.hvitfeldt@posit.co>",
  "_user": "r-lib",
  "_type": "src",
  "_file": "sparsevctrs_0.3.5.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/8064dcb68d00b9893d7e208773fedb126996d4ac2fdf3425396599013477db14",
  "_filesize": 226653,
  "_sha256": "8064dcb68d00b9893d7e208773fedb126996d4ac2fdf3425396599013477db14",
  "_expires": "2026-10-14T13:12:28.000Z",
  "_created": "2026-07-06T12:58:49.000Z",
  "_published": "2026-07-06T13:12:30.040Z",
  "_jobs": [
    {
      "job": 85377200558,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8109695844"
    },
    {
      "job": 85377200551,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8109688597"
    },
    {
      "job": 85377200543,
      "time": 138,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109691527"
    },
    {
      "job": 85377200506,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109687073"
    },
    {
      "job": 85377200550,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8109951953"
    },
    {
      "job": 85377200613,
      "time": 217,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8109913665"
    },
    {
      "job": 85377200516,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109946929"
    },
    {
      "job": 85377200638,
      "time": 279,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109945766"
    },
    {
      "job": 85376619538,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109631382"
    },
    {
      "job": 85377200468,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8109677371"
    },
    {
      "job": 85377200513,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8109678328"
    },
    {
      "job": 85377200512,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8109675539"
    },
    {
      "job": 85377200580,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109674604"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238",
  "_status": "success",
  "_upstream": "https://github.com/r-lib/sparsevctrs",
  "_commit": {
    "id": "21538a1d5ef917b7141466582a25501cd82c2b87",
    "author": "Emil Hvitfeldt <emil.hvitfeldt@posit.co>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Use claude code (#127)\n\n",
    "time": 1769471343
  },
  "_maintainer": {
    "name": "Emil Hvitfeldt",
    "email": "emil.hvitfeldt@posit.co",
    "login": "emilhvitfeldt",
    "bluesky": "@emilhvitfeldt.bsky.social",
    "description": "All things @tidymodels",
    "uuid": 14034784,
    "orcid": "0000-0002-0679-1945"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 490,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.5",
      "date": "2025-12-08"
    }
  ],
  "_stars": 26,
  "_contributors": [
    {
      "user": "emilhvitfeldt",
      "count": 393,
      "uuid": 14034784
    },
    {
      "user": "davisvaughan",
      "count": 5,
      "uuid": 19150088
    },
    {
      "user": "jeroenjanssens",
      "count": 1,
      "uuid": 1368256
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure",
    "followers": 743
  },
  "_downloads": {
    "count": 137551,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsevctrs"
  },
  "_devurl": "https://github.com/r-lib/sparsevctrs",
  "_pkgdown": "https://r-lib.github.io/sparsevctrs/",
  "_searchresults": 49,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sparsevctrs.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/sparsevctrs",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-05-31"
    },
    {
      "version": "0.2.0",
      "date": "2025-01-22"
    },
    {
      "version": "0.3.0",
      "date": "2025-03-10"
    },
    {
      "version": "0.3.1",
      "date": "2025-03-17"
    },
    {
      "version": "0.3.2",
      "date": "2025-03-22"
    },
    {
      "version": "0.3.3",
      "date": "2025-04-14"
    },
    {
      "version": "0.3.4",
      "date": "2025-05-27"
    },
    {
      "version": "0.3.5",
      "date": "2025-12-11"
    },
    {
      "version": "0.3.6",
      "date": "2026-01-27"
    }
  ],
  "_exports": [
    "as_sparse_character",
    "as_sparse_double",
    "as_sparse_integer",
    "as_sparse_logical",
    "coerce_to_sparse_data_frame",
    "coerce_to_sparse_matrix",
    "coerce_to_sparse_tibble",
    "has_sparse_elements",
    "is_sparse_character",
    "is_sparse_double",
    "is_sparse_integer",
    "is_sparse_logical",
    "is_sparse_numeric",
    "is_sparse_vector",
    "sparse_addition_scalar",
    "sparse_character",
    "sparse_default",
    "sparse_division_scalar",
    "sparse_double",
    "sparse_dummy",
    "sparse_integer",
    "sparse_is_na",
    "sparse_lag",
    "sparse_logical",
    "sparse_mean",
    "sparse_median",
    "sparse_multiplication",
    "sparse_multiplication_scalar",
    "sparse_positions",
    "sparse_replace_na",
    "sparse_sd",
    "sparse_sqrt",
    "sparse_subtraction_scalar",
    "sparse_values",
    "sparse_var",
    "sparse_which_na",
    "sparsity"
  ],
  "_help": [
    {
      "page": "coerce_to_sparse_data_frame",
      "title": "Coerce sparse matrix to data frame with sparse columns",
      "topics": [
        "coerce_to_sparse_data_frame"
      ]
    },
    {
      "page": "coerce_to_sparse_matrix",
      "title": "Coerce sparse data frame to sparse matrix",
      "topics": [
        "coerce_to_sparse_matrix"
      ]
    },
    {
      "page": "coerce_to_sparse_tibble",
      "title": "Coerce sparse matrix to tibble with sparse columns",
      "topics": [
        "coerce_to_sparse_tibble"
      ]
    },
    {
      "page": "coerce-vector",
      "title": "Coerce numeric vector to sparse double",
      "topics": [
        "as_sparse_character",
        "as_sparse_double",
        "as_sparse_integer",
        "as_sparse_logical",
        "coerce-vector"
      ]
    },
    {
      "page": "extractors",
      "title": "Information extraction from sparse vectors",
      "topics": [
        "extractors",
        "sparse_default",
        "sparse_positions",
        "sparse_values"
      ]
    },
    {
      "page": "has_sparse_elements",
      "title": "Check for sparse elements",
      "topics": [
        "has_sparse_elements"
      ]
    },
    {
      "page": "sparse_character",
      "title": "Create sparse character vector",
      "topics": [
        "sparse_character"
      ]
    },
    {
      "page": "sparse_double",
      "title": "Create sparse double vector",
      "topics": [
        "sparse_double"
      ]
    },
    {
      "page": "sparse_dummy",
      "title": "Generate sparse dummy variables",
      "topics": [
        "sparse_dummy"
      ]
    },
    {
      "page": "sparse_integer",
      "title": "Create sparse integer vector",
      "topics": [
        "sparse_integer"
      ]
    },
    {
      "page": "sparse_is_na",
      "title": "Detect Pressence of Missing Values",
      "topics": [
        "sparse_is_na"
      ]
    },
    {
      "page": "sparse_lag",
      "title": "Compute lagged values for sparse vectors",
      "topics": [
        "sparse_lag"
      ]
    },
    {
      "page": "sparse_logical",
      "title": "Create sparse logical vector",
      "topics": [
        "sparse_logical"
      ]
    },
    {
      "page": "sparse_mean",
      "title": "Calculate mean from sparse vectors",
      "topics": [
        "sparse_mean"
      ]
    },
    {
      "page": "sparse_median",
      "title": "Calculate median from sparse vectors",
      "topics": [
        "sparse_median"
      ]
    },
    {
      "page": "sparse_replace_na",
      "title": "Replace NAs with specified values in sparse vectors",
      "topics": [
        "sparse_replace_na"
      ]
    },
    {
      "page": "sparse_sd",
      "title": "Calculate standard diviation from sparse vectors",
      "topics": [
        "sparse_sd"
      ]
    },
    {
      "page": "sparse_sqrt",
      "title": "Calculate sqrt of sparse vectors",
      "topics": [
        "sparse_sqrt"
      ]
    },
    {
      "page": "sparse_var",
      "title": "Calculate variance from sparse vectors",
      "topics": [
        "sparse_var"
      ]
    },
    {
      "page": "sparse_which_na",
      "title": "Which indices are Missing Values",
      "topics": [
        "sparse_which_na"
      ]
    },
    {
      "page": "sparse-arithmatic",
      "title": "Vector arithmatic with sparse vectors",
      "topics": [
        "sparse-arithmatic",
        "sparse_multiplication"
      ]
    },
    {
      "page": "sparse-arithmatic-scalar",
      "title": "Scalar arithmatic with sparse vectors",
      "topics": [
        "sparse-arithmatic-scalar",
        "sparse_addition_scalar",
        "sparse_division_scalar",
        "sparse_multiplication_scalar",
        "sparse_subtraction_scalar"
      ]
    },
    {
      "page": "sparsevctrs_options",
      "title": "sparsevctrs options",
      "topics": [
        "sparsevctrs_options"
      ]
    },
    {
      "page": "sparsity",
      "title": "Calculate sparsity of data frames, matrices, and sparse matrices",
      "topics": [
        "sparsity"
      ]
    },
    {
      "page": "type-predicates",
      "title": "Sparse vector type checkers",
      "topics": [
        "is_sparse_character",
        "is_sparse_double",
        "is_sparse_integer",
        "is_sparse_logical",
        "is_sparse_numeric",
        "is_sparse_vector",
        "type-predicates"
      ]
    }
  ],
  "_pkglogo": "https://github.com/r-lib/sparsevctrs/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/r-lib/sparsevctrs/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "rlang",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "design.Rmd",
      "filename": "design.html",
      "title": "Design behind sparsevctrs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Altrep Functions",
        "Converting Functions",
        "Helper Functions",
        "FAQ"
      ],
      "created": "2024-05-09 06:15:57",
      "modified": "2025-05-25 13:09:25",
      "commits": 4
    }
  ],
  "_score": 12.01301050614689,
  "_indexed": true,
  "_nocasepkg": "sparsevctrs",
  "_universes": [
    "r-lib",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:01:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/b9e5180363f1ca0e40092dfb6bc493f572d82f3e92802da061a6bd79f16b8c12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:01:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/44a83d27c6b321f3321c2e84fb75eb3551bdd8b36244572dfb765d87b5d85197",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:01:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/5e4a6074ebae80c2a07630dd8c0b417dc444f50360c94437bfbfc695480adadd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:00:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/406216ab0858fc52f12fb73e2829844d09890b2495afdf3e80107caa75067e63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:11:42.000Z",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/cbd750d545cab9995f145dfe02f5264ef3fce7340d22670a18e3670780ef4973",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:09:45.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/b9f104cd39a323110f16afc413b77d32f572bd49d34772e2b2fccb382afbab97",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:11:35.000Z",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/a43782c3606c07736b72fb24e379e5a2ed636ac0487e50b8e08b90c14171aec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:10:49.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/2da702286221fc8d12157f0d323ef4b7c06f513412bfbbda3d59df49b195d104",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:00:55.000Z",
      "arch": "emscripten",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/c80c2919fb4560a3107d5283d2de99a2b5feb64e0a3f6a46479d689bd1f96976",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:00:15.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/c3669d165ead2e7b0b63fe9ce0073afe8a1e956849b9a47b200090c01cfcee7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:00:03.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/6ff6eee00b55e585400076d1381372a081fe1f31bd3bc4fcf63106c8e79cbdfe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.5.9000",
      "date": "2026-07-06T13:00:08.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "https://r2.ropensci.org/4107a9797f977757f83a0ed7774876835ae6f01ebcccd0cc83386d381eb49585",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793093238"
    }
  ]
}