{
  "_id": "6a607f6c14e95619b75da773",
  "Package": "rddensity",
  "Type": "Package",
  "Title": "Manipulation Testing Based on Density Discontinuity",
  "Date": "2026-05-21",
  "Version": "3.0",
  "Authors@R": "c(\nperson(\"Matias D.\", \"Cattaneo\", email = \"matias.d.cattaneo@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Michael\", \"Jansson\", email = \"michael.jansson.berkeley@gmail.com\", role = \"aut\"),\nperson(\"Xinwei\", \"Ma\", email = \"xinweima.pku@gmail.com\", role = \"aut\"))",
  "Author": "Matias D. Cattaneo [aut, cre], Michael Jansson [aut], Xinwei Ma\n[aut]",
  "Maintainer": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
  "Description": "Density discontinuity testing (a.k.a. manipulation\ntesting) is commonly employed in regression discontinuity\ndesigns and other program evaluation settings to detect perfect\nself-selection (manipulation) around a cutoff where\ntreatment/policy assignment changes. This package implements\nmanipulation testing procedures using local polynomial density\nestimators: rddensity() constructs test statistics and p-values\ngiven a prespecified cutoff, rdbwdensity() performs data-driven\nbandwidth selection, and rdplotdensity() constructs density\nplots.",
  "URL": "https://rdpackages.github.io/,\nhttps://github.com/rdpackages/rddensity",
  "BugReports": "https://github.com/rdpackages/rddensity/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-22 08:26:23 UTC",
    "User": "root"
  },
  "Repository": "https://mdcattaneo.r-universe.dev",
  "Date/Publication": "2026-05-21 21:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/rddensity",
  "RemoteRef": "HEAD",
  "RemoteSha": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
  "_user": "mdcattaneo",
  "_type": "src",
  "_file": "rddensity_3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e33f6af8f7e9cccc85c3e45ab8da1e4e2e08eb48c00a07d1f8299a8bb3ef45fd",
  "_filesize": 164755,
  "_sha256": "e33f6af8f7e9cccc85c3e45ab8da1e4e2e08eb48c00a07d1f8299a8bb3ef45fd",
  "_expires": "2026-10-30T08:29:31.000Z",
  "_created": "2026-07-22T08:26:23.000Z",
  "_published": "2026-07-22T08:29:32.608Z",
  "_jobs": [
    {
      "job": 88871040407,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8523108792"
    },
    {
      "job": 88871040395,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8523103834"
    },
    {
      "job": 88871040433,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8523081291"
    },
    {
      "job": 88871040417,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8523083458"
    },
    {
      "job": 88870441264,
      "time": 162,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8523046349"
    },
    {
      "job": 88871040416,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8523092097"
    },
    {
      "job": 88871040437,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8523087212"
    },
    {
      "job": 88871040464,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8523083084"
    },
    {
      "job": 88871040403,
      "time": 86,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8523083382"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306",
  "_status": "success",
  "_upstream": "https://github.com/cran/rddensity",
  "_commit": {
    "id": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
    "author": "Matias D. Cattaneo <matias.d.cattaneo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.0\n",
    "time": 1779397202
  },
  "_maintainer": {
    "name": "Matias D. Cattaneo",
    "email": "matias.d.cattaneo@gmail.com",
    "login": "mdcattaneo",
    "description": "",
    "uuid": 24854721
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lpdensity",
      "version": ">= 2.2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "3.0",
      "date": "2026-05-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "xinweima",
      "count": 8,
      "uuid": 29647921
    },
    {
      "user": "mdcattaneo",
      "count": 1,
      "uuid": 24854721
    }
  ],
  "_userbio": {
    "uuid": 24854721,
    "type": "user",
    "name": "Matias D. Cattaneo",
    "followers": 213
  },
  "_downloads": {
    "count": 3089,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rddensity"
  },
  "_devurl": "https://github.com/rdpackages/rddensity",
  "_searchresults": 558,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/rddensity.html",
    "manual.pdf"
  ],
  "_realowner": "mdcattaneo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1",
      "date": "2017-03-16"
    },
    {
      "version": "0.2",
      "date": "2017-06-04"
    },
    {
      "version": "0.2.1",
      "date": "2017-07-09"
    },
    {
      "version": "0.2.2",
      "date": "2017-08-03"
    },
    {
      "version": "1.0",
      "date": "2019-07-12"
    },
    {
      "version": "2.0",
      "date": "2020-08-05"
    },
    {
      "version": "2.1",
      "date": "2020-09-02"
    },
    {
      "version": "2.2",
      "date": "2021-03-04"
    },
    {
      "version": "2.3",
      "date": "2022-11-30"
    },
    {
      "version": "2.4",
      "date": "2023-01-22"
    },
    {
      "version": "2.5",
      "date": "2024-01-22"
    },
    {
      "version": "2.6",
      "date": "2024-10-06"
    },
    {
      "version": "3.0",
      "date": "2026-05-21"
    }
  ],
  "_exports": [
    "rdbwdensity",
    "rddensity",
    "rdplotdensity"
  ],
  "_datasets": [
    {
      "name": "margin",
      "title": "RD Senate Data",
      "object": "rddensity_senate",
      "file": "rddensity_senate.RData",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rddensity-package",
      "title": "rddensity: Manipulation Testing Based on Density Discontinuity",
      "topics": [
        "rddensity-package",
        "_PACKAGE"
      ]
    },
    {
      "page": "rdbwdensity",
      "title": "Bandwidth Selection for Manipulation Testing",
      "topics": [
        "rdbwdensity"
      ]
    },
    {
      "page": "rddensity",
      "title": "Manipulation Testing Using Local Polynomial Density Estimation",
      "topics": [
        "rddensity"
      ]
    },
    {
      "page": "rddensity_senate",
      "title": "RD Senate Data",
      "topics": [
        "margin",
        "rddensity_senate"
      ]
    },
    {
      "page": "rdplotdensity",
      "title": "Density Plotting for Manipulation Testing",
      "topics": [
        "rdplotdensity"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lpdensity",
    "MASS",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.7135733619586917,
  "_indexed": true,
  "_nocasepkg": "rddensity",
  "_universes": [
    "mdcattaneo",
    "rdpackages"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0",
      "date": "2026-07-22T08:28:47.000Z",
      "distro": "resolute",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/781b3e1026c12a8365a74ebc6a210d40dcdab6d0e25cf154a46cb7a5b46e4268",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0",
      "date": "2026-07-22T08:28:32.000Z",
      "distro": "resolute",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/67e347219088c1440bf55181a9859a832d104923896905a7c1a81e225b4c4855",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0",
      "date": "2026-07-22T08:27:49.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/9c4cf799dab615f3400ab588c798d5c2948c50639ca4ec26a9896140ede7fce8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0",
      "date": "2026-07-22T08:27:52.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/c3e97b82276954b438d81f0ae3d1a4cc6ed4da706a9e6e132d6087542662d0a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0",
      "date": "2026-07-22T08:28:30.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/cc44aafd0ecf267dd39a8e655f93bc3da4039179081fa344126f66a05f74c138",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0",
      "date": "2026-07-22T08:27:47.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/d02b4d959b47089690c932788f59b1be8c2f897727fa0205b5ef7a43dd9505ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0",
      "date": "2026-07-22T08:27:38.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/2203fe4369fc4632c42b4dc26691a5892907505e4a297fa929789d47ff448234",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.0",
      "date": "2026-07-22T08:27:44.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/5a0fae62c700680ffef2fa76fc8eafbc27bac4d546ec3da2fecf84c7f8cc86ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/29903815306"
    }
  ]
}