R Observatory
Search
install.packages("kde1d")
CRAN 30-day downloads, method
1,090−41.2% down on the 30 days before, the worse direction
Dependent packages, method
511 more indirectly
Test coverage, method
92%of lines run by tests

Provides an efficient implementation of univariate local polynomial kernel density estimators that can handle bounded, discrete, and zero-inflated data. See Geenens and Wang (2018) <doi:10.48550/arXiv.1602.04862>, Geenens (2014) <doi:10.48550/arXiv.1303.4121>, Nagler (2018a) <doi:10.48550/arXiv.1704.07457>, Nagler (2018b) <doi:10.48550/arXiv.1705.05431>.

Maintainer
Thomas Nagler
Latest release
15 Sep 2026
First release
26 Mar 2018

Compare with another package

More details
Releases
17
Needs compilation
Yes
Config/roxygen2/version
8.0.0
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("kde1d")
APA
Nagler, T., & Vatter, T. (2026). kde1d: Univariate Kernel Density Estimation (Version 1.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.kde1d
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for kde1d version 1.2.2 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.2.2
    Time taken
    98 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.2.2
    Time taken
    85 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.2.2
    Time taken
    81 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.2.2
    Time taken
    77 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    231 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.2.2
    Time taken
    29 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    105 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    194 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    99 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    96 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.2.2
    Time taken
    24 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    139 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    160 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (6)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
25 Apr 2026OK12000
22 Apr 2026Note12200
18 Apr 2026Error11201
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
2,590+22% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and conda-forge.

CRAN rank

3,505 of 26,530

CRAN

1,090 downloads in the last 30 days

Rank
3,505 of 26,530
Change
−41.2% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

101 downloads in the last 30 days

Rank
2,314 of 30,526
Change
+189% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

5 downloads in the last 30 days

Rank
10,893 of 29,212
Change
−72.2% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

1,394 downloads in the last 30 days

Rank
831 of 3,828
Change
+542% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
7
Dependent packages
5
Suggested by
0
Needs (7)
Installing it adds
5 packages, 19.0 MB of source
Of those, need compilation
4
Optional extras (3)
Dependent packages (5)
PackageTitleDownloads in 30 days
rvinecopulibHigh Performance Algorithms for Vine Copula Modeling1,336
vineregD-Vine Quantile Regression443
AIDAAnalysis of Interval DAta346
portvineVine Based (Un)Conditional Portfolio Risk Measure Estimation272
MLCOPULAClassification Models with Copula Functions194
Functions
28
Public exports
6
Lines of R code
584
Median complexity
2
Functions (28)
Size and composition

Lines by kind (1,414)

KindLinesShare
R code58441%
Tests29521%
Documentation37727%
Compiled code15811%

Lines by language

LanguageLinesShare
R86161%
Rd37727%
C++17612%

Languages are counted from file extensions.

Files
46
R functions
19
Compiled functions
9
Object systems
S3: 6 methods
Complexity
Median
2
Mean
2.79
Highest
10
Median lines per function
9
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
19
Calls
13
Unconnected
5
Groups
3
Growth (17 releases)
Total lines by release
1,045 on 26 Mar 20181,414 on 15 Sep 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
92.4%
Expressions run by tests
92.3%
Test cases
16
Exports named in tests
83.3%
Coverage by file (4)
Coverage run
Lines counted
131
Lines the tests ran
112
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
16
Lines of tests
295
Test lines per line of code
0.51
Exports documented
100%
Arguments documented
100%
Return value documented
66.7%
Help pages with examples
80%
Examples run in checks
100%
Other documentation
README
Yes, 191 words
Release notes file
Yes
Help pages
5
Lines of documentation
377

tnagler / kde1d on github.com

Stars
14
Forks
2
Open issues
0
Last commit
14 Sep 2026
Activity
Commits
89
Open pull requests
1
Tagged releases
14
Latest tagged release
v1.2.2, 14 Sep 2026
Issues closed in
3 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
89%
Created
19 Mar 2018
Licence file reads as
–
Development practices (8)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourcepkgdown
GitHub Pages site last deployed 2026-09-14
pkgdown site last built 2024-12-31, before release 1.2.2 (2026-09-15)
CoverageCoverage reporting
CRAN release processcran-comments.md
Lint, format, editorRStudio project
Git structuralSubmodules

Method, repository practices

Across tnagler

Claude Codeat least 1 crediting itClaude CodeFirst seen 14 Sep 2026at least 1 crediting it
Claude Opus 51MClaude Opus 51M context window14 Sep 20261 commit

Tools

ToolFirst seenFoundCommits crediting it
Claude Code14 Sep 2026Pull request it wrote: opened by a project member1 at least
  • Pull request

Models

ModelContext windowCommitsFirst commitLast commitCredit lines of
Claude Opus 51M114 Sep 202614 Sep 2026Claude Code

Across tnagler

R releases
  • On CRAN
  • Archived
  • Facing archival
  • Release
0.2.00.4.01.0.01.1.01.2.2Archived and back

Archived and back

ArchivedBackCRAN's reasonKind
10 Apr 201817 Apr 2018problems were not corrected even in an update. ASAN failures Failed without long doubles Threw a C++ exception under valgrind (fatal to the R process)Checks not fixed
VersionReleasedREvents
1.2.2 current15 Sep 20264.6.1Fix due 3 Oct 2026
The checks were fixed and the deadline was lifted.
1.2.010 Sep 20264.6.1
1.1.112 Jun 20254.5.0
1.1.08 Jan 20254.4.2
1.0.726 Jan 20244.3.2
1.0.516 Sep 20224.2.1
1.0.417 Mar 20224.1.3
1.0.326 Oct 20204.0.3
Earlier versions (9)
VersionReleasedREvents
1.0.218 Nov 20193.6.1
1.0.115 Nov 20193.6.1
1.0.015 Nov 20193.6.1
0.4.011 Apr 20193.5.3
0.2.129 May 20183.5.0
0.2.07 May 20183.5.0
0.1.217 Apr 20183.4.4Back on CRAN 17 Apr 2018
0.1.16 Apr 20183.4.4Archived 10 Apr 2018
“problems were not corrected even in an update. ASAN failures Failed without long doubles Threw a C++ exception under valgrind (fatal to the R process)”
0.1.026 Mar 20183.4.4
Release notes (1.2.2)

The version number skips 1.2.1 to match the pinned kde1d-cpp backend release.

DEPENDENCIES

  • Advanced the pinned kde1d-cpp backend to v1.2.2.

BUG FIXES

  • Avoid a zero-size realloc() when every observation is dropped as missing or zero-weighted, which valgrind reports as an error. This was reached by zero-inflated fits whose observations are all zero.