{
  "_id": "6ad06e68e2d863f662954564",
  "Package": "sparsevctrs",
  "Title": "Sparse Vectors for Use in Data Frames",
  "Version": "0.3.6.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-10-15 05:34:52 UTC",
  "RemoteUrl": "https://github.com/r-lib/sparsevctrs",
  "RemoteRef": "HEAD",
  "RemoteSha": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-15 06:04:50 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.6.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/3761ec168c3e98ecb4075d1e27a0ca5a207c2ead8ac3ffc641354a708438f323",
  "_filesize": 224883,
  "_sha256": "3761ec168c3e98ecb4075d1e27a0ca5a207c2ead8ac3ffc641354a708438f323",
  "_expires": "2027-01-23T06:10:46.000Z",
  "_created": "2026-10-15T06:04:50.000Z",
  "_published": "2026-10-15T06:10:48.054Z",
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116274568095,
      "time": 109,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11951608631"
    },
    {
      "job": 116274568193,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11952113474"
    },
    {
      "job": 116274568051,
      "time": 105,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952018462"
    },
    {
      "job": 116274568110,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951157602"
    },
    {
      "job": 116274568203,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11951182468"
    },
    {
      "job": 116274568109,
      "time": 309,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11952098864"
    },
    {
      "job": 116274568137,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951647440"
    },
    {
      "job": 116274568139,
      "time": 170,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951778889"
    },
    {
      "job": 116273492363,
      "time": 213,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951856955"
    },
    {
      "job": 116274568046,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11951378631"
    },
    {
      "job": 116274568210,
      "time": 200,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11951463935"
    },
    {
      "job": 116274568179,
      "time": 128,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11951213871"
    },
    {
      "job": 116274568072,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11951672263"
    },
    {
      "job": 116274568138,
      "time": 232,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11951798900"
    },
    {
      "job": 116274568116,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11952248065"
    }
  ],
  "_upstream": "https://github.com/r-lib/sparsevctrs",
  "_commit": {
    "id": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
    "author": "Emil Hvitfeldt <emil.hvitfeldt@posit.co>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fix sparse is.unsorted() for numeric and logical vectors (#133)\n\n* Check trailing defaults in sparse is.unsorted() for numeric and logical\n\nAlso drop the single non-default value shortcut, which never compared the value against the default.\n\n* Test is.unsorted() on sparse double, integer, and logical vectors",
    "time": 1792042492
  },
  "_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": 493,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.3.5",
      "date": "2025-12-08"
    },
    {
      "name": "v0.3.6",
      "date": "2026-01-27"
    }
  ],
  "_stars": 27,
  "_contributors": [
    {
      "user": "emilhvitfeldt",
      "count": 398,
      "uuid": 14034784
    },
    {
      "user": "davisvaughan",
      "count": 5,
      "uuid": 19150088
    },
    {
      "user": "jeroenjanssens",
      "count": 1,
      "uuid": 1368256
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure",
    "followers": 768
  },
  "_downloads": {
    "count": 117444,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sparsevctrs.html",
    "LICENSE"
  ],
  "_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.060328856886892,
  "_indexed": true,
  "_nocasepkg": "sparsevctrs",
  "_universes": [
    "r-lib",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:06:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/5d6055ca3a29e65b99c639cf19904b4d482cc98b8a22b8112b2726c04d4ca457",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:07:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/3da14506acc08d1951ea2d8b30352d5e4ca2eed7362fe964bfe22854b673324f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:06:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/eccb91a5c394b4b9e220714c82ad417245b1cfdbda41b4a89d7ebf66ecdd7332",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:06:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/a5b96a6913e8212ea968b201eec7563b07d476fee76cccbfbbd5b5d8c4be7326",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:06:34.000Z",
      "arch": "aarch64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/892452ee1fdf8fdc3c72b9ae3967af79875e2216633846f747c701d22632dc70",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:09:03.000Z",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/04dc8110586fb20c7e63227db60c003af309a5e0f380b731651e239fd42937bf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:07:03.000Z",
      "arch": "aarch64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/cf7a788ccf2c6e0faee750a337ada93d51deea4057faf1bb937ab4218abc807c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:07:04.000Z",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/5fcb955373dbadb66a07f5381f1dde9f742a18b8be48c7ecac197afa63d37b83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:06:36.000Z",
      "arch": "emscripten",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/1aabb1c6080e2f5d3e07255a52e180396a86fed85d0dc2bd826303159a8c4912",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:07:47.000Z",
      "arch": "aarch64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/014fbbb9a2d4ab11c785fddd2998220a3fb0b055701fcb08d7a052a61b649166",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:05:58.000Z",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/8e299382b36a220527e81000c7c9aa42e0dfde02837dac3be3bc87e7dbfb6325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:06:08.000Z",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/516b0a42eabc895da8294682985233ad478f7c29a121f0ddefa1efbdb8adb3a3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:08:23.000Z",
      "arch": "aarch64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/ee574c10840ce193ed7cc2bea342f71a8231e847a4943ce72de8afd9178b2d95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.6.9000",
      "date": "2026-10-15T06:05:57.000Z",
      "arch": "x86_64",
      "commit": "74e035c407303b90c3d6bb1bca0f6646a00a96a9",
      "fileid": "https://r2.ropensci.org/760ec9ffecb025dfb1b63fbf6982baab15fb83b80d10fe8622577fbe0f742c07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/38689985340"
    }
  ]
}