{
  "_id": "6ad4b3e67f75c4fbd3a1dc70",
  "Package": "cppally",
  "Title": "A 'C++20' API for R",
  "Version": "1.1.0.9000",
  "Authors@R": "c(\nperson(\"Nick\", \"Christofides\", , \"nick.christofides.r@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-9743-7342\")),\nperson(\"Martin Leitner-Ankerl\", role = \"cph\",\ncomment = \"Author of bundled ankerl::unordered_dense library\"),\nperson(\"Malte Skarupke\", role = \"cph\",\ncomment = \"Author of ska_sort, from which to_radix_key in sort.h is adapted\"),\nperson(\"Ryo Suzuki\", role = \"cph\",\ncomment = \"Author of bundled Xoshiro-cpp library\"),\nperson(\"Posit Software, PBC\", role = \"cph\",\ncomment = \"SEXP protection mechanism in r_protect.h inspired by cpp11\"))",
  "Maintainer": "Nick Christofides <nick.christofides.r@gmail.com>",
  "Description": "A header-only 'C++20' API for manipulating R data\nstructures from 'C++'. Provides 'C++20' concepts specific to R,\ncustom scalar and vector classes with built-in NA handling,\nautomatic object protection, 'SIMD'\n(single-instruction-multiple-data), parallelisation, and a\nstreamlined system for registering 'C++' functions, including\ntemplates, to R. Full API reference and documentation are\navailable at <https://nicchr.github.io/cppally/>.",
  "License": "MIT + file LICENSE",
  "URL": "https://nicchr.github.io/cppally/",
  "BugReports": "https://github.com/NicChr/cppally/issues/",
  "VignetteBuilder": "knitr",
  "Config/Needs/cppally/cpp_register": "brio, cli, decor, desc, glue, purrr,\nreadr, stringr, vctrs, withr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "SystemRequirements": "C++20",
  "Config/roxygen2/version": "8.0.0",
  "Config/Needs/website": "rmarkdown",
  "Repository": "https://nicchr.r-universe.dev",
  "Date/Publication": "2026-10-18 07:48:25 UTC",
  "RemoteUrl": "https://github.com/nicchr/cppally",
  "RemoteRef": "HEAD",
  "RemoteSha": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-18 11:34:05 UTC",
    "User": "root"
  },
  "Author": "Nick Christofides [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-9743-7342>),\nMartin Leitner-Ankerl [cph] (Author of bundled ankerl::unordered_dense\nlibrary),\nMalte Skarupke [cph] (Author of ska_sort, from which to_radix_key in\nsort.h is adapted),\nRyo Suzuki [cph] (Author of bundled Xoshiro-cpp library),\nPosit Software, PBC [cph] (SEXP protection mechanism in r_protect.h\ninspired by cpp11)",
  "_user": "nicchr",
  "_type": "src",
  "_file": "cppally_1.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/169488bcb83145fbfc8388d5c9ade200678ed4ef0b561fb644063be9603bd99d",
  "_filesize": 1289021,
  "_sha256": "169488bcb83145fbfc8388d5c9ade200678ed4ef0b561fb644063be9603bd99d",
  "_expires": "2027-01-26T11:56:18.000Z",
  "_created": "2026-10-18T11:34:05.000Z",
  "_published": "2026-10-18T11:56:22.462Z",
  "_buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117664560571,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12135680546"
    },
    {
      "job": 117664560639,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12134818381"
    },
    {
      "job": 117664560584,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12135487657"
    },
    {
      "job": 117664560618,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12135613102"
    },
    {
      "job": 117663024554,
      "time": 460,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12134884416"
    },
    {
      "job": 117664560665,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12135555477"
    },
    {
      "job": 117664560637,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12135297292"
    },
    {
      "job": 117664560786,
      "time": 66,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12135178311"
    },
    {
      "job": 117664560756,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12134854777"
    }
  ],
  "_upstream": "https://github.com/nicchr/cppally",
  "_commit": {
    "id": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
    "author": "Nick Christofides <118103879+NicChr@users.noreply.github.com>",
    "committer": "Nick Christofides <118103879+NicChr@users.noreply.github.com>",
    "message": "Condense two overloads back into one\n",
    "time": 1792309705
  },
  "_maintainer": {
    "name": "Nick Christofides",
    "email": "nick.christofides.r@gmail.com",
    "orcid": "0000-0002-9743-7342"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "bit64",
      "role": "Suggests"
    },
    {
      "package": "brio",
      "role": "Suggests"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "cpp11",
      "role": "Suggests"
    },
    {
      "package": "decor",
      "role": "Suggests"
    },
    {
      "package": "desc",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgbuild",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "vctrs",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "nicchr",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-05",
      "n": 10
    },
    {
      "week": "2026-06",
      "n": 38
    },
    {
      "week": "2026-07",
      "n": 39
    },
    {
      "week": "2026-08",
      "n": 9
    },
    {
      "week": "2026-09",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 9
    },
    {
      "week": "2026-11",
      "n": 44
    },
    {
      "week": "2026-12",
      "n": 43
    },
    {
      "week": "2026-13",
      "n": 103
    },
    {
      "week": "2026-14",
      "n": 53
    },
    {
      "week": "2026-15",
      "n": 81
    },
    {
      "week": "2026-16",
      "n": 61
    },
    {
      "week": "2026-17",
      "n": 53
    },
    {
      "week": "2026-18",
      "n": 34
    },
    {
      "week": "2026-20",
      "n": 48
    },
    {
      "week": "2026-21",
      "n": 40
    },
    {
      "week": "2026-22",
      "n": 68
    },
    {
      "week": "2026-23",
      "n": 14
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 27
    },
    {
      "week": "2026-26",
      "n": 61
    },
    {
      "week": "2026-27",
      "n": 42
    },
    {
      "week": "2026-28",
      "n": 86
    },
    {
      "week": "2026-29",
      "n": 94
    },
    {
      "week": "2026-30",
      "n": 104
    },
    {
      "week": "2026-31",
      "n": 62
    },
    {
      "week": "2026-32",
      "n": 47
    },
    {
      "week": "2026-33",
      "n": 71
    },
    {
      "week": "2026-34",
      "n": 62
    },
    {
      "week": "2026-35",
      "n": 23
    },
    {
      "week": "2026-36",
      "n": 47
    },
    {
      "week": "2026-37",
      "n": 102
    },
    {
      "week": "2026-38",
      "n": 24
    },
    {
      "week": "2026-39",
      "n": 33
    },
    {
      "week": "2026-40",
      "n": 99
    },
    {
      "week": "2026-41",
      "n": 54
    },
    {
      "week": "2026-42",
      "n": 28
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-04-25"
    },
    {
      "name": "v1.0.0",
      "date": "2026-07-02"
    },
    {
      "name": "v1.1.0",
      "date": "2026-07-12"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "nicchr",
      "count": 2225,
      "uuid": 118103879
    }
  ],
  "_userbio": {
    "uuid": 118103879,
    "type": "user",
    "name": "Nick Christofides",
    "followers": 18,
    "description": "R | Epidemiology | All things Tidy"
  },
  "_downloads": {
    "count": 180,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cppally"
  },
  "_devurl": "https://github.com/nicchr/cppally",
  "_pkgdown": "https://nicchr.github.io/cppally/",
  "_searchresults": 9,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cppally.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nicchr/cppally",
  "_realowner": "nicchr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-28"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-02"
    },
    {
      "version": "1.1.0",
      "date": "2026-07-12"
    }
  ],
  "_exports": [
    "cpp_eval",
    "cpp_register",
    "cpp_source",
    "document",
    "load_all",
    "use_check_data_frames",
    "use_check_factors",
    "use_copy_on_modify",
    "use_cppally",
    "use_openmp",
    "use_preserve_altrep_flag",
    "use_template_dispatch_candidates"
  ],
  "_help": [
    {
      "page": "cpp_register",
      "title": "Generates wrappers for registered C++ functions",
      "topics": [
        "cpp_register"
      ]
    },
    {
      "page": "cpp_source",
      "title": "Compile C++20 code",
      "topics": [
        "cpp_eval",
        "cpp_source"
      ]
    },
    {
      "page": "document",
      "title": "A wrapper around 'devtools::document()' to support cppally package development",
      "topics": [
        "document"
      ]
    },
    {
      "page": "load_all",
      "title": "A wrapper around 'devtools::load_all()' specifically for cppally",
      "topics": [
        "load_all"
      ]
    },
    {
      "page": "use_check_data_frames",
      "title": "Deprecated.",
      "topics": [
        "use_check_data_frames"
      ]
    },
    {
      "page": "use_check_factors",
      "title": "Adds the 'CPPALLY_CHECK_FACTORS' flag to Makevars",
      "topics": [
        "use_check_factors"
      ]
    },
    {
      "page": "use_copy_on_modify",
      "title": "Adds the 'CPPALLY_COPY_ON_MODIFY' flag to Makevars",
      "topics": [
        "use_copy_on_modify"
      ]
    },
    {
      "page": "use_cppally",
      "title": "Helper for developing packages with cppally",
      "topics": [
        "use_cppally"
      ]
    },
    {
      "page": "use_openmp",
      "title": "Add OpenMP flags to Makevars",
      "topics": [
        "use_openmp"
      ]
    },
    {
      "page": "use_preserve_altrep_flag",
      "title": "Adds the CPPALLY_PRESERVE_ALTREP flag to Makevars",
      "topics": [
        "use_preserve_altrep_flag"
      ]
    },
    {
      "page": "use_template_dispatch_candidates",
      "title": "Restrict the R/C++ types a template function will dispatch on",
      "topics": [
        "use_template_dispatch_candidates"
      ]
    }
  ],
  "_readme": "https://github.com/nicchr/cppally/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "protection.Rmd",
      "filename": "protection.html",
      "title": "Automatic Protection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation and design",
        "Protection benchmark: cpp11 vs cppally",
        "cppally views: A solution to the protection overhead problem",
        "r_str_view",
        "view()",
        "Using views safely"
      ],
      "created": "2026-04-11 08:46:37",
      "modified": "2026-09-12 13:26:56",
      "commits": 13
    },
    {
      "source": "functionals.Rmd",
      "filename": "functionals.html",
      "title": "Functional Programming with cppally",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A note on writing code in C++ versus R",
        "pmap",
        "reduce",
        "Returning early",
        "Other pmap helpers",
        "Multi-threading safety",
        "Lagged operations",
        "In-place functionals",
        "Vectorised math",
        "Grouped operations",
        "Applying a C++ function by group"
      ],
      "created": "2026-06-28 09:15:53",
      "modified": "2026-10-06 06:26:24",
      "commits": 5
    },
    {
      "source": "cppally.Rmd",
      "filename": "cppally.html",
      "title": "Getting started with cppally",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Registering C++ functions (to R)",
        "Registering C++ functions outside of a package context",
        "Registering C++ functions inside a cppally-linked package",
        "General steps to using cppally in a package",
        "C++ types",
        "Scalars",
        "logical scalar - r_lgl",
        "NA values",
        "C++ NA values and their R C API equivalents",
        "Checking equality",
        "Scalar operators",
        "Scalar arithmetic operators",
        "Scalar relational operators",
        "Vectors",
        "inline vectors",
        "Scalar math",
        "Coercion",
        "Strings",
        "Dates and date-times",
        "Adding days, months, and years",
        "Accessing date components",
        "Date rounding",
        "Difference between two dates",
        "Fractional months",
        "Symbols",
        "Cached strings & symbols",
        "Lists",
        "Factors",
        "Calling R functions",
        "Value matching",
        "Subsetting",
        "Concepts and Templates",
        "How it works",
        "Templates without function arguments",
        "Attributes",
        "Regular sequences",
        "Using multiple OpenMP threads",
        "Stats functions",
        "A note on cppally::sum",
        "Unique values",
        "Sorting",
        "Grouping",
        "Annex",
        "Unsupported classes in R-registered templates",
        "All core cppally concepts",
        "Accessing the underlying types and values"
      ],
      "created": "2026-04-23 21:40:52",
      "modified": "2026-10-14 10:03:29",
      "commits": 33
    },
    {
      "source": "random.Rmd",
      "filename": "random.html",
      "title": "Random number generation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating a stream",
        "Reusing one stream",
        "Explicit seeds",
        "index()",
        "Example: efficient sample with replacement",
        "Using  distributions",
        "Calling R C API RNG functions",
        "Bootstrapping",
        "Comparison to R - benchmark",
        "A flexible and fast bootstrapper",
        "Engine"
      ],
      "created": "2026-08-04 11:39:06",
      "modified": "2026-09-28 11:18:37",
      "commits": 4
    },
    {
      "source": "vector_names.Rmd",
      "filename": "vector_names.html",
      "title": "Vector Names",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Performance of indexing by location versus name",
        "Generated R code",
        "Generated C++ code",
        "The cost of first lookup",
        "The cost of many lookups",
        "Future development"
      ],
      "created": "2026-10-14 10:03:29",
      "modified": "2026-10-14 10:03:29",
      "commits": 1
    }
  ],
  "_score": 7.045322978786658,
  "_indexed": true,
  "_nocasepkg": "cppally",
  "_universes": [
    "nicchr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:36:15.000Z",
      "distro": "resolute",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/a5107fbb43aacc610038ae69863f51e22e82c0e6680cf4665dfaae6036c6aeec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:36:07.000Z",
      "distro": "resolute",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/03efcf10b23e729bba0dd0a61358d2a28b0eaf3d098c19b517a3ba47f5595461",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:48:52.000Z",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/b23659167924c8f2588f511a51a51a816cfb301a4dca33c4b4627e39c93bfcab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:55:40.000Z",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/e12d1b7e7c8265083936a27444ec1e9a1903a7a25b6f51425863b4687e7368c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:36:05.000Z",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/307a3622fd0cb2a060bb6c6f40a272d3b89ea9e33b95af024e4f59d45542b71d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:35:08.000Z",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/968dad8a32d57e575ce9734631f048baf05b892e8bd9b539bd97fec4be813b5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:35:08.000Z",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/1307ade53322ca27da7dbf53ea1d241d0c152c81d0639312a6c1208d82d6df46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-10-18T11:35:21.000Z",
      "commit": "29ffab03efda6ee468e3b03ec4ed6a4571634fed",
      "fileid": "https://r2.ropensci.org/c534e29c8742c5c0bd2259234cdbf7085fc6347efe649a8a8d55be16b9cfb03f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nicchr/actions/runs/39123233032"
    }
  ]
}