{
  "_id": "6ac4b680f511ae58c09a048a",
  "Package": "dapper",
  "Title": "Data Augmentation for Private Posterior Estimation",
  "Version": "1.1.0",
  "Authors@R": "person(\"Kevin\", \"Eng\", , \"kevine1221@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "A data augmentation based sampler for conducting\nprivacy-aware Bayesian inference. The dapper_sample() function\ntakes an existing sampler as input and automatically constructs\na privacy-aware sampler. The process of constructing a sampler\nis simplified through the specification of four independent\nmodules, allowing for easy comparison between different privacy\nmechanisms by only swapping out the relevant modules.\nProbability mass functions for the discrete Gaussian and\ndiscrete Laplacian are provided to facilitate analyses dealing\nwith privatized count data. The output of dapper_sample() can\nbe analyzed using many of the same tools from the 'rstan'\necosystem. For methodological details on the sampler see Ju et\nal. (2022) <doi:10.48550/arXiv.2206.00710>, and for details on\nthe discrete Gaussian and discrete Laplacian distributions see\nCanonne et al. (2020) <doi:10.48550/arXiv.2004.00010>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/mango-empire/dapper",
  "BugReports": "https://github.com/mango-empire/dapper/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://mango-empire.r-universe.dev",
  "Date/Publication": "2026-09-06 04:44:10 UTC",
  "RemoteUrl": "https://github.com/mango-empire/dapper",
  "RemoteRef": "HEAD",
  "RemoteSha": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-06 08:47:19 UTC",
    "User": "root"
  },
  "Author": "Kevin Eng [aut, cre, cph]",
  "Maintainer": "Kevin Eng <kevine1221@gmail.com>",
  "_user": "mango-empire",
  "_type": "src",
  "_file": "dapper_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/786265f9909be33f797f8bbda1f7d1eb952ebff3a23906be424ec40dceeba349",
  "_filesize": 584108,
  "_sha256": "786265f9909be33f797f8bbda1f7d1eb952ebff3a23906be424ec40dceeba349",
  "_expires": "2027-01-14T08:51:10.000Z",
  "_created": "2026-10-06T08:47:19.000Z",
  "_published": "2026-10-06T08:51:11.947Z",
  "_jobs": [
    {
      "job": 112186115148,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11400301906"
    },
    {
      "job": 112186115085,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11400366517"
    },
    {
      "job": 112186114982,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11399459957"
    },
    {
      "job": 112186115056,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11399992637"
    },
    {
      "job": 112184403808,
      "time": 270,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11399862519"
    },
    {
      "job": 112186115010,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11400796581"
    },
    {
      "job": 112186115070,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11399867742"
    },
    {
      "job": 112186115436,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11399952841"
    },
    {
      "job": 112186115259,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11400331348"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283",
  "_status": "success",
  "_upstream": "https://github.com/mango-empire/dapper",
  "_commit": {
    "id": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
    "author": "Kevin Eng <kevine1221@gmail.com>",
    "committer": "Kevin Eng <kevine1221@gmail.com>",
    "message": "Clarify discrete distribution validation and documentation\n",
    "time": 1788669850
  },
  "_maintainer": {
    "name": "Kevin Eng",
    "email": "kevine1221@gmail.com",
    "login": "mango-empire",
    "description": "I like mangos?",
    "uuid": 18267229
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "bayesplot",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mango-empire",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-36",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "mango-empire",
      "count": 125,
      "uuid": 18267229
    },
    {
      "user": "kvnloo",
      "count": 39,
      "uuid": 7121943
    }
  ],
  "_userbio": {
    "uuid": 18267229,
    "type": "user",
    "name": "Kevin Eng",
    "followers": 2,
    "description": "I like mangos?"
  },
  "_downloads": {
    "count": 417,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dapper"
  },
  "_devurl": "https://github.com/mango-empire/dapper",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dapper.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mango-empire/dapper",
  "_realowner": "mango-empire",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-07-09"
    },
    {
      "version": "1.0.1",
      "date": "2024-10-29"
    },
    {
      "version": "1.1.0",
      "date": "2026-02-02"
    },
    {
      "version": "1.1.1",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "dapper_sample",
    "ddlaplace",
    "ddnorm",
    "new_privacy",
    "rdlaplace",
    "rdnorm"
  ],
  "_help": [
    {
      "page": "dapper_sample",
      "title": "Private Posterior Sampler",
      "topics": [
        "dapper_sample"
      ]
    },
    {
      "page": "ddlaplace",
      "title": "Discrete Laplace Distribution",
      "topics": [
        "ddlaplace",
        "rdlaplace"
      ]
    },
    {
      "page": "ddnorm",
      "title": "The Discrete Gaussian Distribution",
      "topics": [
        "ddnorm",
        "rdnorm"
      ]
    },
    {
      "page": "new_privacy",
      "title": "'privacy' Object Constructor.",
      "topics": [
        "new_privacy"
      ]
    },
    {
      "page": "plot.dpout",
      "title": "Plot dpout object.",
      "topics": [
        "plot.dpout"
      ]
    },
    {
      "page": "summary.dpout",
      "title": "Summarise dpout object.",
      "topics": [
        "summary.dpout"
      ]
    }
  ],
  "_readme": "https://github.com/mango-empire/dapper/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesplot",
    "cachem",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "fastmap",
    "furrr",
    "future",
    "generics",
    "ggdist",
    "ggplot2",
    "ggridges",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "listenv",
    "magrittr",
    "matrixStats",
    "memoise",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "posterior",
    "progressr",
    "purrr",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "randomized-response.Rmd",
      "filename": "randomized-response.html",
      "title": "Getting started with dapper: randomized response",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Prepare the data and privacy mechanism",
        "Specify the four model components",
        "Generate latent data: latent_f(theta)",
        "Update the parameters: posterior_f(dmat, theta)",
        "Summarize one record: statistic_f(xi, sdp, i)",
        "Evaluate the privacy likelihood: mechanism_f(sdp, sx)",
        "Run the sampler and inspect the output",
        "Estimate the odds ratio",
        "Compare with analyses that omit the privacy mechanism",
        "References"
      ],
      "created": "2026-09-06 04:44:10",
      "modified": "2026-09-06 04:44:10",
      "commits": 1
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "dapper",
  "_universes": [
    "mango-empire"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-06T08:49:29.000Z",
      "distro": "resolute",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/ec58c4c2e34e00d407db87720376fc9501c7b000a629c80be5b38e013c56e341",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-06T08:49:47.000Z",
      "distro": "resolute",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/dbd4697f9cb29ecc88c44fa4addd2b5973f2ffe0c722d2091fb043d88c3a9855",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-06T08:49:44.000Z",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/16c238bce473d6063362a0366b236ac92329a66b8596af2e9271bc9cc4da859d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-06T08:49:37.000Z",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/f4d403f031335e2d9b8a294d29d0a0c48b957e5d2701ae7e15630ff2a0e8d61c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-06T08:49:17.000Z",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/2b8695a1fbcab379fd8c85d3ffb7425bca6b4490c806feb9789be3fb9def1904",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-06T08:48:23.000Z",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/ff58395076adbcd6bcfb6b51b1c3333f4bce743827facffb8256d0f2576fa528",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-06T08:48:37.000Z",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/683938bc11e9fc7200f4e1bbf20ee4303e341c32dcae13221162ddcea2607f82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-06T08:48:29.000Z",
      "commit": "0caccc2d5885f19f0dd0bd8285bf4ac3fd82d6dd",
      "fileid": "https://r2.ropensci.org/6e805623f952803747eaa2c540da99a4caacbe55812d9ec6e56d29fff62a8841",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mango-empire/actions/runs/37437871283"
    }
  ]
}