Skip to content

kkmeans

Fast Implementations of Kernel K-Means

v0.1.3 · Feb 1, 2026 · GPL-3

Description

Implementations several algorithms for kernel k-means. The default 'OTQT' algorithm is a fast alternative to standard implementations of kernel k-means, particularly in cases with many clusters. For a small number of clusters, the implemented 'MacQueen' method typically performs the fastest. For more details and performance evaluations, see Berlinski and Maitra (2025) <doi:10.1002/sam.70032>.

Downloads

CRAN

182

Last 30 days

23632nd

441

Last 90 days

936

Last year

Trend: +51.7% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

109

Last 90 days

195

Last year

Trend: -36.8% (30d vs prior 30d)

autoCRAN

3

Last 7 days

7

Last 30 days

2

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,188

Files

25

Compiled share

75.7%

Has compiled src

Yes

Language breakdown

R 318 (14.5%)C/C++/src 1,656 (75.7%)Docs 214 (9.8%)

API

Exported functions

6

Internal functions

1

Recent export changes

v0.1.2+6 cluster_new, get_kernel_matrix, get_mknn_dist +3 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2026-01-31

Latest release

2026-02-01

Avg cadence

1 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.2: 2,421 LOCv0.1.3: 2,188 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies Rcpp kkmeans

Version History

3 tracked
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.2 diff Jan 31, 2026
new 0.1.2 Jan 30, 2026