{
  "_id": "6af70bcfb90b31e79afd7f4d",
  "Package": "kde1d",
  "Type": "Package",
  "Title": "Univariate Kernel Density Estimation",
  "Version": "1.2.2",
  "Authors@R": "c(\nperson(\"Thomas\", \"Nagler\",, \"mail@tnagler.com\", role = c(\"aut\", \"cre\")),\nperson(\"Thibault\", \"Vatter\",, \"thibault.vatter@gmail.com\", role = c(\"aut\"))\n)",
  "Description": "Provides an efficient implementation of univariate local\npolynomial kernel density estimators that can handle bounded,\ndiscrete, and zero-inflated data. See Geenens and Wang (2018)\n<doi:10.48550/arXiv.1602.04862>, Geenens (2014)\n<doi:10.48550/arXiv.1303.4121>, Nagler (2018a)\n<doi:10.48550/arXiv.1704.07457>, Nagler (2018b)\n<doi:10.48550/arXiv.1705.05431>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://tnagler.github.io/kde1d/",
  "BugReports": "https://github.com/tnagler/kde1d/issues/",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://tnagler.r-universe.dev",
  "Date/Publication": "2026-09-14 21:53:07 UTC",
  "RemoteUrl": "https://github.com/tnagler/kde1d",
  "RemoteRef": "HEAD",
  "RemoteSha": "9ac579edefc62026dee4eb066594173232c3dea3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-13 13:01:50 UTC",
    "User": "root"
  },
  "Author": "Thomas Nagler [aut, cre],\nThibault Vatter [aut]",
  "Maintainer": "Thomas Nagler <mail@tnagler.com>",
  "_user": "tnagler",
  "_type": "src",
  "_file": "kde1d_1.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/e0d50451897287ce332511c03ea1b0be631099d07d9018b8caee2e5364e493ad",
  "_filesize": 180058,
  "_sha256": "e0d50451897287ce332511c03ea1b0be631099d07d9018b8caee2e5364e493ad",
  "_expires": "2027-02-21T13:08:29.000Z",
  "_created": "2026-11-13T13:01:50.000Z",
  "_published": "2026-11-13T13:08:30.885Z",
  "_upstream": "https://github.com/tnagler/kde1d",
  "_status": "success",
  "_maintainer": {
    "name": "Thomas Nagler",
    "email": "mail@tnagler.com",
    "login": "tnagler",
    "description": "",
    "uuid": 8761435
  },
  "_jobs": [
    {
      "job": 131901533070,
      "time": 119,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14039016856"
    },
    {
      "job": 131901533109,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14040390342"
    },
    {
      "job": 131901533013,
      "time": 112,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14039846365"
    },
    {
      "job": 131901533147,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14039736832"
    },
    {
      "job": 131901533138,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14039701659"
    },
    {
      "job": 131901533775,
      "time": 298,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14039707528"
    },
    {
      "job": 131901533073,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14038871842"
    },
    {
      "job": 131901533125,
      "time": 335,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14039351855"
    },
    {
      "job": 131899880905,
      "time": 207,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14040275355"
    },
    {
      "job": 131901533003,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14039656695"
    },
    {
      "job": 131901533124,
      "time": 246,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14039327480"
    },
    {
      "job": 131901533126,
      "time": 258,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14039996475"
    },
    {
      "job": 131901533156,
      "time": 275,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14040385735"
    },
    {
      "job": 131901533135,
      "time": 226,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14039537249"
    },
    {
      "job": 131901533150,
      "time": 233,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14039327437"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433",
  "_commit": {
    "id": "9ac579edefc62026dee4eb066594173232c3dea3",
    "author": "Thomas Nagler <tnagler@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Patch 1.2.2 (#72)\n\n* Patch 1.2.2: advance the pinned kde1d-cpp backend to v1.2.2\n\n`remove_nans()` dropped every row by calling `conservativeResize(0)`, which\nreaches Eigen's `aligned_realloc` and so `realloc(ptr, 0)` -- deprecated in\nC17, undefined in C23, and reported as an error by valgrind. CRAN's memory\ntests found it in 1.2.0 through a zero-inflated fit whose observations are\nall zero; the backend now swaps in an empty vector instead.\n\nThe package version skips 1.2.1 so that it matches the backend tag it pins.\n\nCo-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>\n\n* Add a memcheck workflow: valgrind, ASan and UBSan\n\nThe R package had no CI that runs an instrumented R, so the only memory\nreport it ever got was CRAN's after submission -- which is how the zero-size\n`realloc()` fixed in 1.2.2 was found. The four jobs use the r-hub containers\nCRAN's memory-test machines are modelled on; each ships an R already built\nwith the instrumentation, which a plain runner cannot reproduce.\n\nThe scan step exists because `R CMD check` passes while the tools report:\nthey write to stderr, and only a *failing* test leaves a `.Rout.fail` behind.\nThe containers' own `r-check` greps `<pkg>-Ex.Rout` and `tests/*.Rout.fail`\nonly, so a finding in a test that passes -- exactly this bug's shape -- is\ninvisible in the exit status. `scan-memcheck-output.sh` reads every output\nfile in the check directory instead, and was verified to flag the 1.2.0\nbackend and pass the 1.2.2 one.\n\nCo-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>\n\n* memcheck: don't gate on the containers' r-check, and prove instrumentation ran\n\nThe first run failed on valgrind, clang-asan and clang-ubsan with `Status: OK`\nand no memory findings. The containers' `r-check` helper ends with\n\n    testfiles=$(ls tests | grep \".Rout.fail$\")\n\nunder `set -e`, so with no failing test grep exits 1 and takes the script with\nit: it reports failure exactly when the package is clean. (gcc-asan ships a\nfixed c",
    "time": 1789422787
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "randtoolbox",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "BH",
      "role": "Suggests"
    },
    {
      "package": "RcppEigen",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "tnagler",
  "_selfowned": true,
  "_usedby": 17,
  "_updates": [
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2026-09-10"
    },
    {
      "name": "v1.2.2",
      "date": "2026-09-14"
    }
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "tnagler",
      "count": 23,
      "uuid": 8761435
    },
    {
      "user": "tvatter",
      "count": 15,
      "uuid": 5273142
    }
  ],
  "_userbio": {
    "uuid": 8761435,
    "type": "user",
    "name": "Thomas Nagler",
    "followers": 120
  },
  "_downloads": {
    "count": 1333,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kde1d"
  },
  "_devurl": "https://github.com/tnagler/kde1d",
  "_pkgdown": "https://tnagler.github.io/kde1d/",
  "_searchresults": 91,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "kde1d/include",
        "hash": "6781c1ae2602015b"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kde1d.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/tnagler/kde1d",
  "_realowner": "tnagler",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-03-28"
    },
    {
      "version": "0.1.1",
      "date": "2018-04-06"
    },
    {
      "version": "0.1.2",
      "date": "2018-04-17"
    },
    {
      "version": "0.2.0",
      "date": "2018-05-07"
    },
    {
      "version": "0.2.1",
      "date": "2018-05-28"
    },
    {
      "version": "0.4.0",
      "date": "2019-04-11"
    },
    {
      "version": "1.0.0",
      "date": "2019-11-15"
    },
    {
      "version": "1.0.1",
      "date": "2019-11-15"
    },
    {
      "version": "1.0.2",
      "date": "2019-11-18"
    },
    {
      "version": "1.0.3",
      "date": "2020-10-26"
    },
    {
      "version": "1.0.4",
      "date": "2022-03-17"
    },
    {
      "version": "1.0.5",
      "date": "2022-09-16"
    },
    {
      "version": "1.0.7",
      "date": "2024-01-26"
    },
    {
      "version": "1.1.0",
      "date": "2025-01-08"
    },
    {
      "version": "1.1.1",
      "date": "2025-06-12"
    },
    {
      "version": "1.2.0",
      "date": "2026-09-10"
    },
    {
      "version": "1.2.2",
      "date": "2026-09-15"
    }
  ],
  "_exports": [
    "dkde1d",
    "equi_jitter",
    "kde1d",
    "pkde1d",
    "qkde1d",
    "rkde1d"
  ],
  "_help": [
    {
      "page": "kde1d-package",
      "title": "One-Dimensional Kernel Density Estimation",
      "topics": [
        "kde1d-package"
      ]
    },
    {
      "page": "dkde1d",
      "title": "Working with a kde1d object",
      "topics": [
        "dkde1d",
        "pkde1d",
        "pkde1d,",
        "qkde1d",
        "qkde1d,",
        "rkde1d"
      ]
    },
    {
      "page": "equi_jitter",
      "title": "Conditionally equidistant jittering",
      "topics": [
        "equi_jitter"
      ]
    },
    {
      "page": "kde1d",
      "title": "Univariate local-polynomial likelihood kernel density estimation",
      "topics": [
        "kde1d"
      ]
    },
    {
      "page": "plot.kde1d",
      "title": "Plotting kde1d objects",
      "topics": [
        "lines.kde1d",
        "plot.kde1d",
        "points.kde1d"
      ]
    }
  ],
  "_readme": "https://github.com/tnagler/kde1d/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "randtoolbox",
    "Rcpp",
    "RcppEigen",
    "rngWELL"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 7.238599749175108,
  "_indexed": true,
  "_nocasepkg": "kde1d",
  "_universes": [
    "tnagler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-11-13T13:03:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/dabb438d251241f29d49999290416e943bbeb8fa8f500f43dbcc6f71c55e6653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/3c85ce89b2c849d704eacb901a2e24d98b7126b65e414dc4a6e89b1d278d8ce8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-11-13T13:03:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/551d777dd25ababcd22fd05fa69a5872e153a97cb34bfce0f633e3895e38ff12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/f2b307e7142066d67f9e96d41b587bf7dc0e0211485d4c9ee48766f74f2474ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:08.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/103290ee39314ccee63d6464bf5e44260b4658a93d25523a5e047d3bd8ea7db7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-11-13T13:05:49.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/b18ef0e2c289b88bcff2982bad94a46231a7ba5805f1090e49cc37aec1caf7f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:15.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/f94b3865ae3c08c7c4067dfda5f7d98432ce4c720b9806233cc387fa01460277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-11-13T13:06:08.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/6e7e41d73edc551dd83f6fd0e42b11134c4a63a2ffada306c6df23799f66a5e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:08.000Z",
      "arch": "emscripten",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/463b5fd858b9a2f3fa707b35dbaf573857a8a2d54dc914dac46d7a5d4f8fc4b5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-11-13T13:05:39.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/aae2956d6c5b0fda8316dc7deb4aa7f6e4dbcc814ac7f581f0e7e80c31f5a3f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:34.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/e55903e90cf327883663c625ba37e99edca272215b7ecfa10f232c3c2d4daa30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-11-13T13:05:01.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/33362f0aa253d782624d26b1da335bf4ea1a16a35952fa0303c522a801f6fdf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-11-13T13:05:19.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/0c2fc58d1a750d81bd78b561b1e76f2afcd91ab6e2b8fb0ca2839023eb5eb383",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-11-13T13:04:45.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/2ef9f870fdb1f93ecd51922900883a4d320fbaa0ca6de4a9814306419eb02ee6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/43429679433"
    }
  ]
}