{
  "_id": "6a49b9ffdbd0482285eb7a1f",
  "Package": "diffpriv",
  "Type": "Package",
  "Title": "Easy Differential Privacy",
  "Version": "0.4.2.9000",
  "Date": "2017-07-18",
  "Authors@R": "c(\nperson(\"Benjamin\", \"Rubinstein\", email = \"brubinstein@unimelb.edu.au\", role = c(\"aut\", \"cre\")),\nperson(\"Francesco\", \"Aldà\", email = \"francesco.alda@gmail.com\", role = \"aut\"))",
  "Description": "An implementation of major general-purpose mechanisms for\nprivatizing statistics, models, and machine learners, within\nthe framework of differential privacy of Dwork et al. (2006)\n<doi:10.1007/11681878_14>. Example mechanisms include the\nLaplace mechanism for releasing numeric aggregates, and the\nexponential mechanism for releasing set elements. A sensitivity\nsampler (Rubinstein & Alda, 2017) <arXiv:1706.02562> permits\nsampling target non-private function sensitivity; combined with\nthe generic mechanisms, it permits turn-key privatization of\narbitrary programs.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/brubinstein/diffpriv,\nhttp://brubinstein.github.io/diffpriv",
  "BugReports": "https://github.com/brubinstein/diffpriv/issues",
  "RoxygenNote": "6.0.1",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Collate": "'utils.R' 'bernstein_polynomials.R' 'privacy_params.R'\n'mechanisms.R' 'bernstein_mechanism.R' 'diffpriv.R'\n'exponential_mechanism.R' 'numeric_mechanism.R'\n'gaussian_mechanism.R' 'laplace_mechanism.R'\n'sensitivity_sampler.R'",
  "Config/pak/sysreqs": "libgsl0-dev",
  "Repository": "https://brubinstein.r-universe.dev",
  "Date/Publication": "2022-07-01 05:30:18 UTC",
  "RemoteUrl": "https://github.com/brubinstein/diffpriv",
  "RemoteRef": "HEAD",
  "RemoteSha": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 01:54:34 UTC",
    "User": "root"
  },
  "Author": "Benjamin Rubinstein [aut, cre],\nFrancesco Aldà [aut]",
  "Maintainer": "Benjamin Rubinstein <brubinstein@unimelb.edu.au>",
  "_user": "brubinstein",
  "_type": "src",
  "_file": "diffpriv_0.4.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/e19f98823fa06d11bf967494cefc4b151e0dd3d6dd13ee573ea9368161c111ea",
  "_filesize": 734758,
  "_sha256": "e19f98823fa06d11bf967494cefc4b151e0dd3d6dd13ee573ea9368161c111ea",
  "_expires": "2026-10-13T01:57:18.000Z",
  "_created": "2026-07-05T01:54:34.000Z",
  "_published": "2026-07-05T01:57:19.634Z",
  "_jobs": [
    {
      "job": 85184022891,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8087369470"
    },
    {
      "job": 85184022879,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8087369039"
    },
    {
      "job": 85184022873,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8087367690"
    },
    {
      "job": 85184022883,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8087365530"
    },
    {
      "job": 85183796711,
      "time": 256,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087354859"
    },
    {
      "job": 85184022866,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8087369120"
    },
    {
      "job": 85184023026,
      "time": 69,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8087363130"
    },
    {
      "job": 85184022875,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8087363197"
    },
    {
      "job": 85184022872,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8087363333"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544",
  "_status": "success",
  "_upstream": "https://github.com/brubinstein/diffpriv",
  "_commit": {
    "id": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
    "author": "Benjamin Rubinstein <benjamin.rubinstein@unimelb.edu.au>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #5 from CaptainEmerson/patch-1\n\nfix typo",
    "time": 1656653418
  },
  "_maintainer": {
    "name": "Benjamin Rubinstein",
    "email": "brubinstein@unimelb.edu.au"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "gsl",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "randomNames",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "brubinstein",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "data-science",
    "differential-privacy",
    "diffpriv",
    "machine-learning",
    "statistics"
  ],
  "_stars": 69,
  "_contributors": [
    {
      "user": "brubinstein",
      "count": 66,
      "uuid": 18631308
    },
    {
      "user": "captainemerson",
      "count": 1,
      "uuid": 5417003
    }
  ],
  "_userbio": {
    "uuid": 18631308,
    "type": "user",
    "name": "Benjamin Rubinstein",
    "followers": 16,
    "description": "Academic at the University of Melbourne, Australia.\r\nFormer Microsoft Research.\r\nBerkeley PhD."
  },
  "_downloads": {
    "count": 358,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/diffpriv"
  },
  "_devurl": "https://github.com/brubinstein/diffpriv",
  "_searchresults": 62,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/diffpriv.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/brubinstein/diffpriv",
  "_realowner": "brubinstein",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.2",
      "date": "2017-07-18"
    }
  ],
  "_exports": [
    "bernstein",
    "DPMechBernstein",
    "DPMechExponential",
    "DPMechGaussian",
    "DPMechLaplace",
    "DPMechNumeric",
    "DPParamsDel",
    "DPParamsEps",
    "DPParamsGam",
    "releaseResponse",
    "sensitivityNorm",
    "sensitivitySampler",
    "sensitivitySamplerManual"
  ],
  "_help": [
    {
      "page": "bernstein",
      "title": "Fit a Bernstein polynomial approximation.",
      "topics": [
        "bernstein"
      ]
    },
    {
      "page": "diffpriv",
      "title": "'diffpriv': practical differential privacy in R.",
      "topics": [
        "diffpriv-package",
        "diffpriv"
      ]
    },
    {
      "page": "DPMech-class",
      "title": "An S4 class for differentially-private mechanisms.",
      "topics": [
        "DPMech-class"
      ]
    },
    {
      "page": "DPMechBernstein-class",
      "title": "An S4 class for the Bernstein mechanism of differential privacy.",
      "topics": [
        "DPMechBernstein",
        "DPMechBernstein-class",
        "releaseResponse,DPMechBernstein,DPParamsEps-method",
        "sensitivityNorm,DPMechBernstein-method",
        "show,DPMechBernstein-method"
      ]
    },
    {
      "page": "DPMechExponential-class",
      "title": "An S4 class for the exponential mechanism of differential privacy.",
      "topics": [
        "DPMechExponential",
        "DPMechExponential-class",
        "releaseResponse,DPMechExponential,DPParamsEps-method",
        "sensitivityNorm,DPMechExponential-method",
        "show,DPMechExponential-method"
      ]
    },
    {
      "page": "DPMechGaussian-class",
      "title": "An S4 class for the Gaussian mechanism of differential privacy.",
      "topics": [
        "DPMechGaussian",
        "DPMechGaussian-class",
        "show,DPMechGaussian-method"
      ]
    },
    {
      "page": "DPMechLaplace-class",
      "title": "An S4 class for the Laplace mechanism of differential privacy.",
      "topics": [
        "DPMechLaplace",
        "DPMechLaplace-class",
        "show,DPMechLaplace-method"
      ]
    },
    {
      "page": "DPMechNumeric-class",
      "title": "A virtual S4 class for differentially-private numeric mechanisms.",
      "topics": [
        "DPMechNumeric",
        "DPMechNumeric-class",
        "releaseResponse,DPMechNumeric,DPParamsEps-method",
        "sensitivityNorm,DPMechNumeric-method",
        "show,DPMechNumeric-method"
      ]
    },
    {
      "page": "DPParamsDel-class",
      "title": "An S4 class for relaxed differential privacy parameters.",
      "topics": [
        "DPParamsDel",
        "DPParamsDel-class",
        "getDelta,DPParamsDel-method",
        "setDelta<-,DPParamsDel-method",
        "show,DPParamsDel-method",
        "toGamma,DPParamsDel,numeric-method"
      ]
    },
    {
      "page": "DPParamsEps-class",
      "title": "An S4 class for basic differential privacy parameters.",
      "topics": [
        "DPParamsEps",
        "DPParamsEps-class",
        "getEpsilon,DPParamsEps-method",
        "setEpsilon<-,DPParamsEps-method",
        "show,DPParamsEps-method",
        "toGamma,DPParamsEps,numeric-method"
      ]
    },
    {
      "page": "DPParamsGam-class",
      "title": "An S4 class for random differential privacy parameters.",
      "topics": [
        "DPParamsGam",
        "DPParamsGam-class",
        "getGamma,DPParamsGam-method",
        "setGamma<-,DPParamsGam-method",
        "show,DPParamsGam-method",
        "toGamma,DPParamsGam,numeric-method"
      ]
    },
    {
      "page": "predict.bernstein",
      "title": "Evaluate Bernstein approximations on data.",
      "topics": [
        "predict.bernstein"
      ]
    },
    {
      "page": "releaseResponse",
      "title": "'DPMech' private release method.",
      "topics": [
        "releaseResponse"
      ]
    },
    {
      "page": "sensitivityNorm",
      "title": "'DPMech' sensitivity-inducing norm.",
      "topics": [
        "sensitivityNorm"
      ]
    },
    {
      "page": "sensitivitySampler",
      "title": "Sensitivity sampler for 'DPMech-class''s.",
      "topics": [
        "sensitivitySampler"
      ]
    },
    {
      "page": "sensitivitySampler-DPMech-function-numeric-method",
      "title": "Sensitivity sampler for 'DPMech-class''s.",
      "topics": [
        "sensitivitySampler,DPMech,function,numeric-method"
      ]
    },
    {
      "page": "sensitivitySamplerManual",
      "title": "Sensitivity sampler for 'DPMech-class'.",
      "topics": [
        "sensitivitySamplerManual"
      ]
    },
    {
      "page": "sensitivitySamplerManual-DPMech-function-numeric-numeric-numeric-method",
      "title": "Sensitivity sampler for 'DPMech-class'.",
      "topics": [
        "sensitivitySamplerManual,DPMech,function,numeric,numeric,numeric-method"
      ]
    },
    {
      "page": "sensitivitySamplerManual-DPMechNumeric-function-numeric-numeric-numeric-method",
      "title": "Sensitivity sampler for 'DPMechNumeric-class'.",
      "topics": [
        "sensitivitySamplerManual,DPMechNumeric,function,numeric,numeric,numeric-method"
      ]
    },
    {
      "page": "setDelta-set",
      "title": "Setter for slot 'delta'.",
      "topics": [
        "setDelta<-"
      ]
    },
    {
      "page": "setEpsilon-set",
      "title": "Setter for slot 'epsilon'.",
      "topics": [
        "setEpsilon<-"
      ]
    },
    {
      "page": "setGamma-set",
      "title": "Setter for slot 'gamma'.",
      "topics": [
        "setGamma<-"
      ]
    }
  ],
  "_pkglogo": "https://github.com/brubinstein/diffpriv/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/brubinstein/diffpriv/raw/HEAD/README.md",
  "_rundeps": [
    "gsl"
  ],
  "_vignettes": [
    {
      "source": "bernstein.Rnw",
      "filename": "bernstein.pdf",
      "title": "bernstein",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2017-07-15 15:14:28",
      "modified": "2017-07-17 14:58:35",
      "commits": 4
    },
    {
      "source": "diffpriv.Rnw",
      "filename": "diffpriv.pdf",
      "title": "diffpriv",
      "engine": "knitr::knitr",
      "headings": [
        "Introduction",
        "Generic Mechanisms for Differential Privacy",
        "Sensitivity Sampling for Random Differential Privacy"
      ],
      "created": "2017-06-30 14:37:20",
      "modified": "2017-07-28 14:14:31",
      "commits": 12
    }
  ],
  "_score": 7.108362034955172,
  "_indexed": true,
  "_nocasepkg": "diffpriv",
  "_universes": [
    "brubinstein"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:56:44.000Z",
      "distro": "resolute",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/4d6985b2708873dfe231843191a548d7bbafef0ceea6d5b5b41d455ce3447f86",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:56:40.000Z",
      "distro": "resolute",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/a5c8779ecad8c013a19e152e88afbc301f4fd0b7283e927e8aaeef39ba7b71b2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:56:32.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/3559a21abbba654ed4943e645056483abc58ff36ec923ad97d72a1844cb1e8be",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:56:14.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/465eb24c44b407d312e5ac3094b8254b026b1c02c3a5f74154cb2cfbee541ad5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:56:54.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/00a7270f6982f162b728257cf457f59e38cc93ab455ced5ffdf05f446e4a4211",
      "status": "success",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:55:39.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/97f95b6477ab5d4c474013adeb260857096871d56c1ca39b3a0d81fd371bde81",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:55:43.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/492e35d9007dff0089de5f1090cf287644c8314d7886f4045604bd6c49246fae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.2.9000",
      "date": "2026-07-05T01:55:43.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/21c8d5f02617228e2438e363f87aec2c24f96ece4a6295297e6585fa5e893d8b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/28726136544"
    }
  ]
}