{
  "_id": "6a106a2dacfb0bcc41ca9e72",
  "Package": "cpp11",
  "Title": "A C++11 Interface for R's C Interface",
  "Version": "0.5.5.9000",
  "Authors@R": "c(\nperson(\"Davis\", \"Vaughan\", email = \"davis@posit.co\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-4777-038X\")),\nperson(\"Jim\",\"Hester\", role = \"aut\", comment = c(ORCID = \"0000-0002-2739-7082\")),\nperson(\"Romain\", \"François\", role = \"aut\", comment = c(ORCID = \"0000-0002-2444-4226\")),\nperson(\"Benjamin\", \"Kietzman\", role = \"ctb\"),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Provides a header only, C++11 interface to R's C\ninterface.  Compared to other approaches 'cpp11' strives to be\nsafe against long jumps from the C API as well as C++\nexceptions, conform to normal R function semantics and supports\ninteraction with 'ALTREP' vectors.",
  "License": "MIT + file LICENSE",
  "URL": "https://cpp11.r-lib.org, https://github.com/r-lib/cpp11",
  "BugReports": "https://github.com/r-lib/cpp11/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/testthat/edition": "3",
  "Config/Needs/cpp11/cpp_register": "brio, cli, decor, desc, glue, tibble,\nvctrs",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://fastverse.r-universe.dev",
  "Date/Publication": "2026-05-07 15:24:17 UTC",
  "RemoteUrl": "https://github.com/r-lib/cpp11",
  "RemoteRef": "HEAD",
  "RemoteSha": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-07 16:09:18 UTC",
    "User": "root"
  },
  "Author": "Davis Vaughan [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4777-038X>),\nJim Hester [aut] (ORCID: <https://orcid.org/0000-0002-2739-7082>),\nRomain François [aut] (ORCID: <https://orcid.org/0000-0002-2444-4226>),\nBenjamin Kietzman [ctb],\nPosit Software, PBC [cph, fnd]",
  "Maintainer": "Davis Vaughan <davis@posit.co>",
  "MD5sum": "bc766247c2e4f36ec6d331b2f6fff64c",
  "_user": "fastverse",
  "_type": "src",
  "_file": "cpp11_0.5.5.9000.tar.gz",
  "_fileid": "14362b546e200f2fa91f6592296e05c3fa8d37d095dbe3e95185bc4b1996f979",
  "_filesize": 389309,
  "_sha256": "14362b546e200f2fa91f6592296e05c3fa8d37d095dbe3e95185bc4b1996f979",
  "_created": "2026-05-07T16:09:18.000Z",
  "_published": "2026-05-22T14:37:33.286Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77401475991,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6860341675"
    },
    {
      "job": 77401476770,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6860329803"
    },
    {
      "job": 77401476362,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6860315472"
    },
    {
      "job": 77401475980,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6860320246"
    },
    {
      "job": 77401475782,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6860276645"
    },
    {
      "job": 77401475483,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163142399"
    },
    {
      "job": 77401475960,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6860318997"
    },
    {
      "job": 77401476594,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6860320905"
    },
    {
      "job": 77401476171,
      "time": 120,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6860322301"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-lib/cpp11",
  "_commit": {
    "id": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
    "author": "Davis Vaughan <davis@posit.co>",
    "committer": "Davis Vaughan <davis@posit.co>",
    "message": "Use Air\n",
    "time": 1778167457
  },
  "_maintainer": {
    "name": "Davis Vaughan",
    "email": "davis@posit.co",
    "login": "davisvaughan",
    "bluesky": "@davisvaughan.bsky.social",
    "uuid": 19150088,
    "orcid": "0000-0003-4777-038X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "brio",
      "role": "Suggests"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "decor",
      "role": "Suggests"
    },
    {
      "package": "desc",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lobstr",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "progress",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "Rcpp",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "vctrs",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": false,
  "_usedby": 12586,
  "_updates": [
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 7
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.5.3",
      "date": "2026-01-20"
    },
    {
      "name": "v0.5.4",
      "date": "2026-04-06"
    },
    {
      "name": "v0.5.5",
      "date": "2026-05-06"
    }
  ],
  "_topics": [
    "cpp",
    "cpp11"
  ],
  "_stars": 225,
  "_contributors": [
    {
      "user": "jimhester",
      "count": 385,
      "uuid": 205275
    },
    {
      "user": "davisvaughan",
      "count": 129,
      "uuid": 19150088
    },
    {
      "user": "romainfrancois",
      "count": 55,
      "uuid": 2625526
    },
    {
      "user": "bkietz",
      "count": 30,
      "uuid": 1299904
    },
    {
      "user": "sbearrows",
      "count": 17,
      "uuid": 39840820
    },
    {
      "user": "alyst",
      "count": 7,
      "uuid": 348591
    },
    {
      "user": "jeroen",
      "count": 4,
      "uuid": 216319
    },
    {
      "user": "richfitz",
      "count": 3,
      "uuid": 1558093
    },
    {
      "user": "pachadotdev",
      "count": 3,
      "uuid": 10091065
    },
    {
      "user": "jennybc",
      "count": 2,
      "uuid": 599454
    },
    {
      "user": "kevinushey",
      "count": 2,
      "uuid": 1976582
    },
    {
      "user": "klmr",
      "count": 2,
      "uuid": 38931
    },
    {
      "user": "hadley",
      "count": 2,
      "uuid": 4196
    },
    {
      "user": "thisisnic",
      "count": 2,
      "uuid": 13715823
    },
    {
      "user": "emilhvitfeldt",
      "count": 2,
      "uuid": 14034784
    },
    {
      "user": "michaelchirico",
      "count": 2,
      "uuid": 7606389
    },
    {
      "user": "mpadge",
      "count": 1,
      "uuid": 6697851
    },
    {
      "user": "eutwt",
      "count": 1,
      "uuid": 11261404
    },
    {
      "user": "vspinu",
      "count": 1,
      "uuid": 1363467
    },
    {
      "user": "xhochy",
      "count": 1,
      "uuid": 70274
    },
    {
      "user": "tcpan",
      "count": 1,
      "uuid": 938025
    },
    {
      "user": "tmastny",
      "count": 1,
      "uuid": 20732748
    },
    {
      "user": "thomasp85",
      "count": 1,
      "uuid": 1775316
    },
    {
      "user": "patrickvossler18",
      "count": 1,
      "uuid": 938890
    },
    {
      "user": "nealrichardson",
      "count": 1,
      "uuid": 2975928
    },
    {
      "user": "batpigandme",
      "count": 1,
      "uuid": 831732
    },
    {
      "user": "renkun-ken",
      "count": 1,
      "uuid": 4662568
    },
    {
      "user": "krlmlr",
      "count": 1,
      "uuid": 1741643
    },
    {
      "user": "jonthegeek",
      "count": 1,
      "uuid": 33983824
    },
    {
      "user": "indrajeetpatil",
      "count": 1,
      "uuid": 11330453
    },
    {
      "user": "yutannihilation",
      "count": 1,
      "uuid": 1978793
    },
    {
      "user": "paleolimbot",
      "count": 1,
      "uuid": 10995762
    },
    {
      "user": "amoeba",
      "count": 1,
      "uuid": 563
    },
    {
      "user": "anirban166",
      "count": 1,
      "uuid": 30123691
    },
    {
      "user": "andrjohns",
      "count": 1,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 105517888,
    "type": "organization",
    "name": "fastverse",
    "description": "An Extensible Suite of High-Performance and Low-Dependency Packages for Statistical Computing and Data Manipulation in R"
  },
  "_downloads": {
    "count": 1581477,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cpp11"
  },
  "_devurl": "https://github.com/r-lib/cpp11",
  "_pkgdown": "https://cpp11.r-lib.org",
  "_searchresults": 135,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cpp11.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/cpp11",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-07-10"
    },
    {
      "version": "0.2.0",
      "date": "2020-08-10"
    },
    {
      "version": "0.2.1",
      "date": "2020-08-11"
    },
    {
      "version": "0.2.2",
      "date": "2020-10-01"
    },
    {
      "version": "0.2.3",
      "date": "2020-10-14"
    },
    {
      "version": "0.2.4",
      "date": "2020-11-05"
    },
    {
      "version": "0.2.5",
      "date": "2021-01-12"
    },
    {
      "version": "0.2.6",
      "date": "2021-01-29"
    },
    {
      "version": "0.2.7",
      "date": "2021-03-29"
    },
    {
      "version": "0.3.1",
      "date": "2021-06-25"
    },
    {
      "version": "0.4.0",
      "date": "2021-09-22"
    },
    {
      "version": "0.4.1",
      "date": "2021-11-03"
    },
    {
      "version": "0.4.2",
      "date": "2021-11-30"
    },
    {
      "version": "0.4.3",
      "date": "2022-10-12"
    },
    {
      "version": "0.4.4",
      "date": "2023-06-30"
    },
    {
      "version": "0.4.5",
      "date": "2023-07-20"
    },
    {
      "version": "0.4.6",
      "date": "2023-08-10"
    },
    {
      "version": "0.4.7",
      "date": "2023-12-02"
    },
    {
      "version": "0.5.0",
      "date": "2024-08-27"
    },
    {
      "version": "0.5.1",
      "date": "2024-12-04"
    },
    {
      "version": "0.5.2",
      "date": "2025-03-03"
    },
    {
      "version": "0.5.3",
      "date": "2026-01-20"
    },
    {
      "version": "0.5.2-2",
      "date": "2026-04-04"
    },
    {
      "version": "0.5.4",
      "date": "2026-04-04"
    },
    {
      "version": "0.5.5",
      "date": "2026-05-06"
    }
  ],
  "_exports": [
    "cpp_eval",
    "cpp_function",
    "cpp_register",
    "cpp_source",
    "cpp_vendor"
  ],
  "_help": [
    {
      "page": "cpp_register",
      "title": "Generates wrappers for registered C++ functions",
      "topics": [
        "cpp_register"
      ]
    },
    {
      "page": "cpp_source",
      "title": "Compile C++ code",
      "topics": [
        "cpp_eval",
        "cpp_function",
        "cpp_source"
      ]
    },
    {
      "page": "cpp_vendor",
      "title": "Vendor the cpp11 dependency",
      "topics": [
        "cpp_vendor"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/cpp11/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "converting.Rmd",
      "filename": "converting.html",
      "title": "Converting from Rcpp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Getting started",
        "Cheatsheet",
        "Vectors",
        "Other objects",
        "Functions",
        "R functions",
        "Unsupported Rcpp features",
        "RNGs",
        "Common issues when converting",
        "STL includes",
        "Strict headers",
        "R API includes",
        "Type aliases",
        "Logical vector construction"
      ],
      "created": "2020-06-10 20:09:10",
      "modified": "2024-07-26 13:58:28",
      "commits": 34
    },
    {
      "source": "internals.Rmd",
      "filename": "internals.html",
      "title": "cpp11 internals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Initial setup and dev workflow",
        "Code formatting",
        "Code organization",
        "Naming conventions",
        "Vector classes",
        "Coercion functions",
        "Protection",
        "Protect list",
        "Unwind Protect"
      ],
      "created": "2020-06-10 20:09:10",
      "modified": "2026-05-06 12:13:00",
      "commits": 22
    },
    {
      "source": "FAQ.Rmd",
      "filename": "FAQ.html",
      "title": "FAQ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. What are the underlying types of cpp11 objects?",
        "2. How do I add elements to a list?",
        "3. Does cpp11 support default arguments?",
        "4. How do I create a new empty list?",
        "5. How do I retrieve (named) elements from a named vector/list?",
        "6. How can I tell whether a vector is named?",
        "7. How do I return a cpp11::writable::logicals object with only a FALSE value?",
        "8. How do I create a new empty environment?",
        "9. How do I assign and retrieve values in an environment? What happens if I try to get a value that doesn't exist?",
        "10. How can I create a cpp11:raws from a std::string?",
        "11. How can I create a std::string from a cpp11::writable::string?",
        "12. What are the types for C++ iterators?",
        "13. My code has using namespace std, why do I still have to include std:: in the signatures of [[cpp11::register]] functions?",
        "14. How do I modify a vector in place?",
        "15. Should I call cpp11::unwind_protect() manually?",
        "Destructors",
        "Nested unwind_protect()",
        "16. Ok but I really want to call cpp11::unwind_protect() manually"
      ],
      "created": "2021-07-02 14:59:00",
      "modified": "2026-05-06 12:13:00",
      "commits": 12
    },
    {
      "source": "cpp11.Rmd",
      "filename": "cpp11.html",
      "title": "Get started with cpp11",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Outline",
        "Prerequisites",
        "Getting started with C++",
        "No inputs, scalar output",
        "Scalar input, scalar output",
        "Vector input, scalar output",
        "Vector input, vector output",
        "Using cpp_source",
        "Exercises",
        "Other classes",
        "Lists and data frames",
        "Functions",
        "Attributes",
        "Missing values",
        "Scalars",
        "Integers",
        "Doubles",
        "Strings",
        "Boolean",
        "Vectors",
        "Standard Template Library",
        "Using iterators",
        "Algorithms",
        "Data structures",
        "Vectors",
        "Sets",
        "Case studies",
        "Gibbs sampler",
        "R vectorisation versus C++ vectorisation",
        "Using cpp11 in a package",
        "Learning more"
      ],
      "created": "2020-06-10 20:09:10",
      "modified": "2026-05-06 12:13:00",
      "commits": 38
    },
    {
      "source": "motivations.Rmd",
      "filename": "motivations.html",
      "title": "Motivations for cpp11",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivations",
        "Copy-on-write semantics",
        "Improve safety",
        "C safety",
        "C++ safety",
        "Altrep support",
        "Altrep benchmarks",
        "UTF-8 everywhere",
        "C++11 features",
        "Simpler implementation",
        "Compilation speed",
        "Header only",
        "Vendoring",
        "Protection",
        "Growing vectors",
        "Conclusion"
      ],
      "created": "2020-06-10 20:09:10",
      "modified": "2026-05-06 12:13:00",
      "commits": 26
    }
  ],
  "_score": 17.88697707898156,
  "_indexed": false,
  "_nocasepkg": "cpp11",
  "_universes": [
    "fastverse"
  ],
  "_indexurl": "https://r-lib.r-universe.dev/cpp11",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:11:53.000Z",
      "distro": "noble",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "ec34cdd902f8e5cb5432b8e08044f3f4c60523a380e9e9b54ae5831d8024c5cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:11:24.000Z",
      "distro": "noble",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "6fac3cab1528e854163dce2a6ecc4e160ace071357142d61996fef48d5da5bc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:10:46.000Z",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "40e161353232bea0e79f56e6976e7f647b2032d990f333ad666d958928d4587d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:11:03.000Z",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "95d02eea235dbc7c1b71ef839fa1d7c4686e598241a3b6fd06425893d9df9831",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:10:28.000Z",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "ecb201fa8d1e77257929cb2110de5c3e5b615c66bc48b02a6cbaa5d33e8b3127",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:10:37.000Z",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "0f4298da7a14d664835c17fde129c518844609a563864773d3cf63701211707e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-05-07T16:10:27.000Z",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "726e112e6792aa96c1941c3f4df7221611c908a53f7acd3ca1fcf2e3817b7dfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.5.9000",
      "date": "2026-05-22T14:36:57.000Z",
      "commit": "7d0e4ac1127905fde7fbe8f41ba7344e2ddd1679",
      "fileid": "72f5966a0e134657d0c2eb2783809f465ed76d0fbaf022cee7c44c086e260531",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fastverse/actions/runs/25507479755"
    }
  ]
}