{
  "_id": "6acf6949e2d863f662951c73",
  "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-10-14 11:29:44 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/36dc2fa88615a5d70a5fae7fc8af732f676a533252b79ef3fc4c07b5277e46fb",
  "_filesize": 179882,
  "_sha256": "36dc2fa88615a5d70a5fae7fc8af732f676a533252b79ef3fc4c07b5277e46fb",
  "_expires": "2027-01-22T11:36:39.000Z",
  "_created": "2026-10-14T11:29:44.000Z",
  "_published": "2026-10-14T11:36:41.569Z",
  "_buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115828633657,
      "time": 159,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11889119901"
    },
    {
      "job": 115828633501,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11890785167"
    },
    {
      "job": 115828633709,
      "time": 122,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11888994865"
    },
    {
      "job": 115828633528,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890613590"
    },
    {
      "job": 115828633638,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11889838955"
    },
    {
      "job": 115828633650,
      "time": 217,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11890593719"
    },
    {
      "job": 115828633680,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890128873"
    },
    {
      "job": 115828633710,
      "time": 351,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11889949642"
    },
    {
      "job": 115827181812,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890143210"
    },
    {
      "job": 115828633385,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11890008795"
    },
    {
      "job": 115828633539,
      "time": 203,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11890795200"
    },
    {
      "job": 115828633664,
      "time": 159,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11890438760"
    },
    {
      "job": 115828633761,
      "time": 151,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11890695160"
    },
    {
      "job": 115828633614,
      "time": 239,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890094067"
    },
    {
      "job": 115828633646,
      "time": 152,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890493672"
    }
  ],
  "_upstream": "https://github.com/tnagler/kde1d",
  "_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
  },
  "_maintainer": {
    "name": "Thomas Nagler",
    "email": "mail@tnagler.com",
    "login": "tnagler",
    "description": "",
    "uuid": 8761435
  },
  "_distro": "resolute",
  "_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": 119
  },
  "_downloads": {
    "count": 1676,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kde1d"
  },
  "_devurl": "https://github.com/tnagler/kde1d",
  "_pkgdown": "https://tnagler.github.io/kde1d/",
  "_searchresults": 84,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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.303281507796295,
  "_indexed": true,
  "_nocasepkg": "kde1d",
  "_universes": [
    "tnagler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-14T11:32:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/b8b6749256d6653123c64f744502923beacbd8a075fbf65ec91d41eed8483016",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-14T11:32:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/3c4c9191281165b9b67707f8f1f90ff50519d06745b72489fa6d37c0f8c7939d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-14T11:31:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/5f1ca218bfc78e98501f952bb4bbcceba85bf030295807585bbc2c4abc353d9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-14T11:32:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/04c5d2255e69e2964ebaf5e166ce7374386fc8c5a0923965d180aaa0d84954f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-14T11:31:51.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/263c9aef69b712b78ac5cfc75bcef8fd17b3e6285a6358f76cd3b261aaf9a5ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-14T11:32:55.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/c4ecee36a617e6cdb552efc6c3673865d39ce21f5275e98128c72a991021e168",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-14T11:32:16.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/e8f3be2a5b0b2d802de88c2cfc7647e3ef0ea9b59ae8486c1a1d1baea420bee8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-14T11:34:11.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/2b99d9a19d503b5b487cce01cdadefde8b94ad5306f2deada24b1975479b1640",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-10-14T11:31:57.000Z",
      "arch": "emscripten",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/4150a978d89d8d0ff1e9f6a21afa4645a125c8338b03926b6e166f6be6166d2a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-14T11:32:55.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/6a6da3c4e8530c2a46ffa78797d5d8219ac3110585bdd0dacee3a4603dd839a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-14T11:31:27.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/88a771979924a44316172c778d412a7a06f95b173b3b93086efce5aa52d39a0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-14T11:31:36.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/60516244805cfb661b604db61f3195cd714a240d97b1f6a4a6244d6a2e307aaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-14T11:33:31.000Z",
      "arch": "aarch64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/db336436fa95e59ef69ae3c1d307155b42296e0917427dfca1d9e20147fa57c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-14T11:31:38.000Z",
      "arch": "x86_64",
      "commit": "9ac579edefc62026dee4eb066594173232c3dea3",
      "fileid": "https://r2.ropensci.org/d992b443f26595f32554c18efce37717ee6d2ade279383bc3a155bb2a9b17dd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tnagler/actions/runs/38556558707"
    }
  ]
}