{
  "_id": "6ad9f190343c88418cb71a10",
  "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-10-22 10:50:35 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/b74c10b0e8b7ae663761253ecf4d3170f373e26b5566321c73743afc0012ae79",
  "_filesize": 729851,
  "_sha256": "b74c10b0e8b7ae663761253ecf4d3170f373e26b5566321c73743afc0012ae79",
  "_expires": "2027-01-30T11:20:46.000Z",
  "_created": "2026-10-22T10:50:35.000Z",
  "_published": "2026-10-22T11:20:47.986Z",
  "_upstream": "https://github.com/brubinstein/diffpriv",
  "_status": "success",
  "_maintainer": {
    "name": "Benjamin Rubinstein",
    "email": "brubinstein@unimelb.edu.au"
  },
  "_jobs": [
    {
      "job": 119782024080,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12420731337"
    },
    {
      "job": 119782024054,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12420900616"
    },
    {
      "job": 119782024052,
      "time": 199,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12421031632"
    },
    {
      "job": 119782024297,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12422081534"
    },
    {
      "job": 119780106410,
      "time": 275,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12420586345"
    },
    {
      "job": 119782024106,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12420102116"
    },
    {
      "job": 119782024312,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12419468779"
    },
    {
      "job": 119782024100,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12420516790"
    },
    {
      "job": 119782024951,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12420711325"
    }
  ],
  "_buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 418,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/diffpriv"
  },
  "_devurl": "https://github.com/brubinstein/diffpriv",
  "_searchresults": 67,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/diffpriv.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.142045148157744,
  "_indexed": true,
  "_nocasepkg": "diffpriv",
  "_universes": [
    "brubinstein"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2.9000",
      "date": "2026-10-22T10:52:33.000Z",
      "distro": "resolute",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/44b66fe57d7afc4c2464a372527850da7653e6379e31f45f7faa5fce32035c72",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.2.9000",
      "date": "2026-10-22T10:52:30.000Z",
      "distro": "resolute",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/6b7cac41ab36ce78aaa59560b1461d98aaf9da0083e18acf525f66b7817c1160",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2.9000",
      "date": "2026-10-22T11:07:54.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/b266b28fdf668e24318039588ca2ee48a2ecd634283ea4b638fd41828bda475f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.2.9000",
      "date": "2026-10-22T11:19:44.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/f3384f11fd7fd096f2b08732b81194adb7c6340ababc69a2505e9149a1afff38",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2.9000",
      "date": "2026-10-22T10:53:19.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/08f10e45b60ba3f2a2ed0b7fb88e43b5685f89f6531c69e75a1572728d05967c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2.9000",
      "date": "2026-10-22T10:51:55.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/416c0122a9a9345979bb3dff14eb9e888e405cfea227c699c0c6e48c6762b013",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2.9000",
      "date": "2026-10-22T10:51:50.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/cc9def0fb92542226f3b57fe1697f50547aaee560832bbe537fbd0a812f6d1e9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.2.9000",
      "date": "2026-10-22T10:51:50.000Z",
      "commit": "36d4a0d9b1e76cb15cdee321f5b935c96324c8ef",
      "fileid": "https://r2.ropensci.org/801a009cf59203ed32e4bc280229c2bf5f9a888b7d79b858732c932801144bef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/brubinstein/actions/runs/39765555067"
    }
  ]
}