{
  "_id": "6a1f0ce5b401979e7341cf09",
  "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-05-17 09:22:45 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>",
  "MD5sum": "47cea2fc1f3ce2922ff6fa76fbbcf269",
  "_user": "r-lib",
  "_type": "src",
  "_file": "sparsevctrs_0.3.5.9000.tar.gz",
  "_fileid": "3f215230dd6473e80f0f9e07df1d560f8b2ee3ef6e0c0675f145f4407bc2b0ac",
  "_filesize": 222907,
  "_sha256": "3f215230dd6473e80f0f9e07df1d560f8b2ee3ef6e0c0675f145f4407bc2b0ac",
  "_created": "2026-05-17T09:22:45.000Z",
  "_published": "2026-06-02T17:03:33.904Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79127191135,
      "time": 126,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041196377"
    },
    {
      "job": 79127191545,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041197795"
    },
    {
      "job": 79127191031,
      "time": 116,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041195378"
    },
    {
      "job": 79127191041,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041196535"
    },
    {
      "job": 79127191664,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7041195766"
    },
    {
      "job": 79127191207,
      "time": 207,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7041206484"
    },
    {
      "job": 79127191060,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041192824"
    },
    {
      "job": 79127190831,
      "time": 198,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041207337"
    },
    {
      "job": 79127190309,
      "time": 163,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041181821"
    },
    {
      "job": 79127190032,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364546444"
    },
    {
      "job": 79127190316,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041193778"
    },
    {
      "job": 79127190854,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7041192770"
    },
    {
      "job": 79127191098,
      "time": 130,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041196864"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": 489,
  "_updates": [
    {
      "week": "2025-20",
      "n": 1
    },
    {
      "week": "2025-21",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.4",
      "date": "2025-05-25"
    },
    {
      "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"
  },
  "_downloads": {
    "count": 164839,
    "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": 30,
  "_rbuild": "4.6.0",
  "_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",
    "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.053735938119393,
  "_indexed": true,
  "_nocasepkg": "sparsevctrs",
  "_universes": [
    "r-lib",
    "emilhvitfeldt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "94abe2a707aa8a91ce974a576eb93bba8664ecc6fd31d488cb6a7a7986ba488f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "f035a304338b08463151d48570786923bc50976949b4e26dd3730813f716a649",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "e30bc89f63a05ea2fa331703b7752bf5619661652efe126df81cbb82ecc505ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "a26aa7ddd99c8bcc4ad16e3712ab9d3ff2dabe776723c1c88f46a3a9da9d9756",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:36.000Z",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "11af341ba07094ba08d1e270ef36440b285411d01ef81181e31cd1d6049f7976",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:25:52.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "26e403134453461d146d8fdf6b330f9dbd469406ad353cf2c5d27d5019d2df5d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:15.000Z",
      "arch": "aarch64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "f3c1120403716c8e0c5107bbd966a712cf3686d70dbc4526422dc3de7ea82437",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:25:51.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "d78214345b6a6376a6e847d1ee8ebbc3f68eb90699bca5f7eb8e2c3987040005",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:23:59.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "3f230b1df74fb30ec8f230e853425c9ce1182f61c2c7479363a7f6f98573b7be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:23:51.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "c322e7f4687ca792d9a604dfca13e4dcb1dc8a6f695274778a51d40d6c642483",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.5.9000",
      "date": "2026-05-17T09:24:27.000Z",
      "arch": "x86_64",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "6e73b757356b83be95f09903034143e54bc1e7fd0ec53d08d84c8c197f68470b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.5.9000",
      "date": "2026-06-02T17:03:05.000Z",
      "arch": "emscripten",
      "commit": "21538a1d5ef917b7141466582a25501cd82c2b87",
      "fileid": "a6854c01226df5ab38f5c1c46fef382e3176516a92a1a745975767f788154360",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/25986931839"
    }
  ]
}