{
  "_id": "6a1ff1dab401979e734426c3",
  "Package": "haven",
  "Title": "Import and Export 'SPSS', 'Stata' and 'SAS' Files",
  "Version": "2.5.5",
  "Authors@R": "c(\nperson(\"Hadley\", \"Wickham\", , \"hadley@posit.co\", role = c(\"aut\", \"cre\")),\nperson(\"Evan\", \"Miller\", role = c(\"aut\", \"cph\"),\ncomment = \"Author of included ReadStat code\"),\nperson(\"Danny\", \"Smith\", role = \"aut\"),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Import foreign statistical formats into R via the embedded\n'ReadStat' C library, <https://github.com/WizardMac/ReadStat>.",
  "License": "MIT + file LICENSE",
  "URL": "https://haven.tidyverse.org, https://github.com/tidyverse/haven,\nhttps://github.com/WizardMac/ReadStat",
  "BugReports": "https://github.com/tidyverse/haven/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "GNU make, zlib: zlib1g-dev (deb), zlib-devel (rpm)",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 09:16:05 UTC",
    "User": "root"
  },
  "Author": "Hadley Wickham [aut, cre], Evan Miller [aut, cph] (Author of\nincluded ReadStat code), Danny Smith [aut], Posit Software, PBC\n[cph, fnd]",
  "Maintainer": "Hadley Wickham <hadley@posit.co>",
  "Config/pak/sysreqs": "make zlib1g-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-05-30 14:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/haven",
  "RemoteRef": "HEAD",
  "RemoteSha": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
  "MD5sum": "8162e3165975ad747b5efa3b5883c263",
  "_user": "cran",
  "_type": "src",
  "_file": "haven_2.5.5.tar.gz",
  "_fileid": "0eb89cb820ab4413a22f9b62c0624ca56ff5967d6383ef7af8609b90347f6b8b",
  "_filesize": 464417,
  "_sha256": "0eb89cb820ab4413a22f9b62c0624ca56ff5967d6383ef7af8609b90347f6b8b",
  "_created": "2026-06-03T09:16:05.000Z",
  "_published": "2026-06-03T09:20:26.324Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79261164930,
      "time": 184,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7380535775"
    },
    {
      "job": 79261164996,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7380524281"
    },
    {
      "job": 79261165076,
      "time": 160,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7380526861"
    },
    {
      "job": 79261165033,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7380521319"
    },
    {
      "job": 79260484282,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380469476"
    },
    {
      "job": 79261164921,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380518890"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26875174949",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/haven",
  "_commit": {
    "id": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
    "author": "Hadley Wickham <hadley@posit.co>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.5.5\n",
    "time": 1748614202
  },
  "_maintainer": {
    "name": "Hadley Wickham",
    "email": "hadley@posit.co",
    "login": "hadley",
    "bluesky": "@hadley.nz",
    "description": "Chief Scientist at @posit-pbc",
    "uuid": 4196
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "cli",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "hms",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "crayon",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pillar",
      "version": ">= 1.4.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "utf8",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 762,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hadley",
      "count": 24,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 523461,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/haven"
  },
  "_mentions": 21,
  "_devurl": "https://github.com/tidyverse/haven",
  "_pkgdown": "https://haven.tidyverse.org",
  "_searchresults": 26240,
  "_topics": [
    "zlib",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/haven.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tidyverse/haven",
  "_realowner": "tidyverse",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2015-03-01"
    },
    {
      "version": "0.1.1",
      "date": "2015-03-03"
    },
    {
      "version": "0.2.0",
      "date": "2015-04-08"
    },
    {
      "version": "0.2.1",
      "date": "2016-07-19"
    },
    {
      "version": "1.0.0",
      "date": "2016-09-23"
    },
    {
      "version": "1.1.0",
      "date": "2017-07-09"
    },
    {
      "version": "1.1.1",
      "date": "2018-01-18"
    },
    {
      "version": "1.1.2",
      "date": "2018-06-27"
    },
    {
      "version": "2.0.0",
      "date": "2018-11-22"
    },
    {
      "version": "2.1.0",
      "date": "2019-02-19"
    },
    {
      "version": "2.1.1",
      "date": "2019-07-04"
    },
    {
      "version": "2.2.0",
      "date": "2019-11-08"
    },
    {
      "version": "2.3.0",
      "date": "2020-05-24"
    },
    {
      "version": "2.3.1",
      "date": "2020-06-01"
    },
    {
      "version": "2.4.0",
      "date": "2021-04-14"
    },
    {
      "version": "2.4.1",
      "date": "2021-04-23"
    },
    {
      "version": "2.4.2",
      "date": "2021-08-02"
    },
    {
      "version": "2.4.3",
      "date": "2021-08-04"
    },
    {
      "version": "2.5.0",
      "date": "2022-04-15"
    },
    {
      "version": "2.5.1",
      "date": "2022-08-22"
    },
    {
      "version": "2.5.2",
      "date": "2023-02-28"
    },
    {
      "version": "2.5.3",
      "date": "2023-06-30"
    },
    {
      "version": "2.5.4",
      "date": "2023-11-30"
    },
    {
      "version": "2.5.5",
      "date": "2025-05-30"
    }
  ],
  "_exports": [
    "as_factor",
    "format_tagged_na",
    "is_tagged_na",
    "is.labelled",
    "labelled",
    "labelled_spss",
    "na_tag",
    "print_labels",
    "print_tagged_na",
    "read_dta",
    "read_por",
    "read_sas",
    "read_sav",
    "read_spss",
    "read_stata",
    "read_xpt",
    "tagged_na",
    "vec_arith.haven_labelled",
    "write_dta",
    "write_sas",
    "write_sav",
    "write_xpt",
    "zap_empty",
    "zap_formats",
    "zap_label",
    "zap_labels",
    "zap_missing",
    "zap_widths"
  ],
  "_help": [
    {
      "page": "as_factor",
      "title": "Convert labelled vectors to factors",
      "topics": [
        "as_factor",
        "as_factor.data.frame",
        "as_factor.haven_labelled",
        "as_factor.labelled"
      ]
    },
    {
      "page": "labelled",
      "title": "Create a labelled vector.",
      "topics": [
        "is.labelled",
        "labelled"
      ]
    },
    {
      "page": "labelled_spss",
      "title": "Labelled vectors for SPSS",
      "topics": [
        "labelled_spss"
      ]
    },
    {
      "page": "print_labels",
      "title": "Print the labels of a labelled vector",
      "topics": [
        "print_labels"
      ]
    },
    {
      "page": "read_dta",
      "title": "Read and write Stata DTA files",
      "topics": [
        "read_dta",
        "read_stata",
        "write_dta"
      ]
    },
    {
      "page": "read_sas",
      "title": "Read SAS files",
      "topics": [
        "read_sas"
      ]
    },
    {
      "page": "read_spss",
      "title": "Read and write SPSS files",
      "topics": [
        "read_por",
        "read_sav",
        "read_spss",
        "write_sav"
      ]
    },
    {
      "page": "read_xpt",
      "title": "Read and write SAS transport files",
      "topics": [
        "read_xpt",
        "write_xpt"
      ]
    },
    {
      "page": "tagged_na",
      "title": "\"Tagged\" missing values",
      "topics": [
        "format_tagged_na",
        "is_tagged_na",
        "na_tag",
        "print_tagged_na",
        "tagged_na"
      ]
    },
    {
      "page": "zap_empty",
      "title": "Convert empty strings into missing values",
      "concept": [
        "zappers"
      ],
      "topics": [
        "zap_empty"
      ]
    },
    {
      "page": "zap_formats",
      "title": "Remove format attributes",
      "concept": [
        "zappers"
      ],
      "topics": [
        "zap_formats"
      ]
    },
    {
      "page": "zap_label",
      "title": "Zap variable labels",
      "concept": [
        "zappers"
      ],
      "topics": [
        "zap_label"
      ]
    },
    {
      "page": "zap_labels",
      "title": "Zap value labels",
      "concept": [
        "zappers"
      ],
      "topics": [
        "zap_labels",
        "zap_labels.haven_labelled_spss"
      ]
    },
    {
      "page": "zap_missing",
      "title": "Zap special missings to regular R missings",
      "topics": [
        "zap_missing"
      ]
    },
    {
      "page": "zap_widths",
      "title": "Remove display width attributes",
      "concept": [
        "zappers"
      ],
      "topics": [
        "zap_widths"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/haven/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/haven/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "forcats",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readr",
    "rlang",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libz",
      "package": "zlib1g",
      "headers": "zlib1g-dev",
      "source": "zlib",
      "version": "1:1.3.dfsg-3.1ubuntu2.1",
      "name": "zlib",
      "homepage": "http://zlib.net/",
      "description": "compression library - runtime"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "semantics.Rmd",
      "filename": "semantics.html",
      "title": "Conversion semantics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Value labels",
        "labelled()",
        "Missing values",
        "Tagged missing values",
        "User defined missing values"
      ],
      "created": "2016-09-23 22:44:41",
      "modified": "2018-01-18 09:31:31",
      "commits": 3
    },
    {
      "source": "datetimes.Rmd",
      "filename": "datetimes.html",
      "title": "Dates and times",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Formats",
        "Offsets",
        "References"
      ],
      "created": "2015-02-28 00:00:00",
      "modified": "2023-02-28 16:52:31",
      "commits": 5
    }
  ],
  "_score": 13.496924387255808,
  "_indexed": false,
  "_nocasepkg": "haven",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://tidyverse.r-universe.dev/haven",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.5.5",
      "date": "2026-06-03T09:19:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
      "fileid": "6c3c61e5ccac613ab5c661730b4d194ffa47fbadea46592fec0f6fd5f43f1d1a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26875174949"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.5.5",
      "date": "2026-06-03T09:18:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
      "fileid": "bd553fdb9ca89223e3a59c536a18b83fbdc63371bda5211450f42b8792f59dba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26875174949"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.5.5",
      "date": "2026-06-03T09:18:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
      "fileid": "1af97a14872177f20939154bce65f5d9901b7bda609bb4283609ab4edcf7dc77",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26875174949"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.5.5",
      "date": "2026-06-03T09:18:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
      "fileid": "f97e521e252815b8bd4145bb3c942ebc76de9ab4b564f2f014aa31d5cee3d2c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26875174949"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.5.5",
      "date": "2026-06-03T09:18:45.000Z",
      "arch": "emscripten",
      "commit": "5cfb3a41fe8f9c56e8c1e61802a2b9101d3c50f5",
      "fileid": "dded4365dae2030b4b997551eb0e6d5dca3c5cc0163cdfaf62d9262892b8251c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26875174949"
    }
  ]
}