Skip to content

flexclust

Flexible Cluster Algorithms

v1.5.0 · Feb 27, 2025 · GPL-2

Description

The main function kcca implements a general framework for k-centroids cluster analysis supporting arbitrary distance measures and centroid computation. Further cluster methods include hard competitive learning, neural gas, and QT clustering. There are numerous visualization methods for cluster results (neighborhood graphs, convex cluster hulls, barcharts of centroids, ...), and bootstrap methods for the analysis of cluster stability.

Downloads

CRAN

7.4K

Last 30 days

1351st

29.1K

Last 90 days

129.9K

Last year

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

r2u CRAN

69

Last 30 days

232

Last 90 days

3.1K

Last year

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

autoCRAN

3

Last 7 days

17

Last 30 days

1

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

Check History

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

Code

Structure

Lines of code

8,581

Files

97

Compiled share

6.1%

Has compiled src

Yes

Language breakdown

R 5,064 (59%)C/C++/src 526 (6.1%)Tests 90 (1%)Docs 2,901 (33.8%)

API

Exported functions

28

Internal functions

80

Recent export changes

v1.4-0+5 bclust, Cutree, flxPalette +2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.02

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

40.9%

\dontrun example ratio

3.4%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

57.1%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.14.0

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

24

First release

2005-06-09

Latest release

2025-02-28

Avg cadence

178 days

Cold removal rate

100%

Dep drift

5

LOC over versions

v0.7-0: 2,459 LOCv0.8-0: 3,675 LOCv0.8-1: 3,708 LOCv0.9-0: 3,692 LOCv0.9-1: 3,700 LOCv0.99-0: 4,194 LOCv0.99-1: 4,363 LOCv1.0-0: 4,492 LOCv1.1-0: 4,781 LOCv1.1-1: 4,762 LOCv1.1-2: 4,780 LOCv1.2-0: 5,798 LOCv1.2-1: 5,917 LOCv1.2-2: 6,155 LOCv1.3-0: 6,207 LOCv1.3-1: 6,213 LOCv1.3-2: 6,264 LOCv1.3-3: 6,327 LOCv1.3-4: 7,101 LOCv1.3-5: 7,134 LOCv1.4-0: 8,575 LOCv1.4-1: 8,587 LOCv1.4-2: 8,588 LOCv1.5.0: 8,581 LOC

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

Reverse Dependencies (24)

Dependency Network

Dependencies Reverse dependencies lattice modeltools stats4 class RSKC clusTransition mcen ockc AurieLSHGaussian S4DM Xplortext bootcluster clustord dtwclust flexord miclust semiArtificial spconf tidyclust +9 more reverse deps flexclust

Version History

25 tracked
new 1.5.0 Mar 10, 2026
updated 1.5.0 ← 1.4-2 diff Feb 27, 2025
updated 1.4-2 ← 1.4-1 diff Apr 26, 2024
updated 1.4-1 ← 1.4-0 diff Apr 7, 2022
updated 1.4-0 ← 1.3-5 diff Sep 24, 2018
updated 1.3-5 ← 1.3-4 diff Feb 13, 2018
updated 1.3-4 ← 1.3-3 diff Jul 1, 2013
updated 1.3-3 ← 1.3-2 diff Jul 9, 2012
updated 1.3-2 ← 1.3-1 diff Aug 10, 2011
updated 1.3-1 ← 1.3-0 diff Nov 23, 2010
updated 1.3-0 ← 1.2-2 diff Nov 22, 2010
updated 1.2-2 ← 1.2-1 diff Nov 5, 2009
updated 1.2-1 ← 1.2-0 diff Jul 1, 2009
updated 1.2-0 ← 1.1-2 diff Jun 18, 2009
updated 1.1-2 ← 1.1-1 diff Feb 22, 2009