{
  "_id": "6aaf97063d719c1f8407f677",
  "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-09-20 08:15:54 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/8c031769939f4b0b06306df848532292b4d97b78768f360a1cf80acc39a86e17",
  "_filesize": 165997,
  "_sha256": "8c031769939f4b0b06306df848532292b4d97b78768f360a1cf80acc39a86e17",
  "_expires": "2026-12-29T08:19:16.000Z",
  "_created": "2026-09-20T08:15:54.000Z",
  "_published": "2026-09-20T08:19:18.548Z",
  "_jobs": [
    {
      "job": 106047505449,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10601447968"
    },
    {
      "job": 106047505443,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601519355"
    },
    {
      "job": 106047505544,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10601199775"
    },
    {
      "job": 106047505425,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601293063"
    },
    {
      "job": 106047110328,
      "time": 186,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601439333"
    },
    {
      "job": 106047505453,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10601249681"
    },
    {
      "job": 106047505464,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10601870086"
    },
    {
      "job": 106047505486,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10600673856"
    },
    {
      "job": 106047505488,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601214768"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253",
  "_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": 219
  },
  "_downloads": {
    "count": 3176,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rddensity"
  },
  "_devurl": "https://github.com/rdpackages/rddensity",
  "_searchresults": 674,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/rddensity.html"
  ],
  "_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.8076616450100413,
  "_indexed": true,
  "_nocasepkg": "rddensity",
  "_universes": [
    "mdcattaneo",
    "rdpackages"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0",
      "date": "2026-09-20T08:17:56.000Z",
      "distro": "resolute",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/a6753d23304c9175fcc8e7cd9f54f79ede3857b627ca45cd9d8c0145c9a514b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0",
      "date": "2026-09-20T08:17:56.000Z",
      "distro": "resolute",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/26a7892e1247c834be999ba73f39c8ef9e164d8a93a2ce64882822d900de2131",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0",
      "date": "2026-09-20T08:18:41.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/499d56d82b75cb2d5bde249bb8e7df51b0f19d9b08e85a1d18e975a25542e663",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0",
      "date": "2026-09-20T08:17:38.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/a8619039c27af49d7c98c2b528d06e454f22275cd8f2308e38d4f643c6164491",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0",
      "date": "2026-09-20T08:17:50.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/3af1ae251710a0bf20d6ffecfa48a046ef5f99f4da557d9c9d3b5bc277f544cb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0",
      "date": "2026-09-20T08:17:00.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/530b4bf792fb33b3085bebfddd32229f2010a866509b6ceb60932c344a192289",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0",
      "date": "2026-09-20T08:16:55.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/df8028ab9da7ba912a74189535e82b603be66a89777d8972eaebedc9676a3062",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.0",
      "date": "2026-09-20T08:17:02.000Z",
      "commit": "55082b8d7e56cf3147a19b8b66ec68b4198b583d",
      "fileid": "https://r2.ropensci.org/e0a7c0bc706eb23851a271e80c4e4df5f231ece3aa4cfc78e110cefed98c3c47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdcattaneo/actions/runs/35498938253"
    }
  ]
}