Skip to content

greed

Clustering and Model Selection with the Integrated Classification Likelihood

v0.6.2 · Aug 29, 2025 · GPL

Description

An ensemble of algorithms that enable the clustering of networks and data matrices (such as counts, categorical or continuous) with different type of generative models. Model selection and clustering is performed in combination by optimizing the Integrated Classification Likelihood (which is equivalent to minimizing the description length). Several models are available such as: Stochastic Block Model, degree corrected Stochastic Block Model, Mixtures of Multinomial, Latent Block Model. The optimization is performed thanks to a combination of greedy local search and a genetic algorithm (see <arXiv:2002:11577> for more details).

Downloads

CRAN

633

Last 30 days

5485th

1.8K

Last 90 days

6.7K

Last year

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

r2u CRAN

24

Last 30 days

128

Last 90 days

416

Last year

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

autoCRAN

4

Last 7 days

18

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 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 19.1Mb
  sub-directories of 1Mb or more:
    libs  16.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 19.0Mb
  sub-directories of 1Mb or more:
    libs  16.7Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/greed.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 19.1Mb
  sub-directories of 1Mb or more:
    libs  16.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 19.0Mb
  sub-directories of 1Mb or more:
    libs  16.7Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 19.1Mb
  sub-directories of 1Mb or more:
    libs  16.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 19.0Mb
  sub-directories of 1Mb or more:
    libs  16.7Mb

Line coverage

Expression

Tests / Examples

Functions

372 39 exported

Complexity

2.1 avg / 13 max

Call network

372 nodes / 235 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

16,170

Files

206

Compiled share

38%

Has compiled src

Yes

Language breakdown

R 5,776 (35.7%)C/C++/src 6,141 (38%)Tests 915 (5.7%)Docs 3,223 (19.9%)Vignettes 115 (0.7%)

API

Exported functions

44

Internal functions

72

Recent export changes

v0.6.0+31 CombinedModels, DcLbm, DcLbmPrior +28 more  −3 graph_balance, greed_cond, nodelinklab
v0.5.1+1 gmmpairs

Testing & CI

Has tests

Yes

Test-to-code ratio

0.16

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

94.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

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

3.5.0

System requirements

C++ standard

License

GPL

License flags

not SPDX, not OSI

History

Versions

5

First release

2021-04-21

Latest release

2025-08-29

Avg cadence

256 days

Cold removal rate

100%

Dep drift

8

LOC over versions

v0.5.0: 12,490 LOCv0.5.1: 14,187 LOCv0.6.0: 16,225 LOCv0.6.1: 16,202 LOCv0.6.2: 16,170 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp Matrix future listenv ggplot2 RSpectra gtable gridExtra cba cli greed

Version History

6 tracked
new 0.6.2 Mar 10, 2026
updated 0.6.2 ← 0.6.1 diff Aug 28, 2025
updated 0.6.1 ← 0.6.0 diff Oct 3, 2022
updated 0.6.0 ← 0.5.1 diff Mar 17, 2022
updated 0.5.1 ← 0.5.0 diff May 9, 2021
new 0.5.0 Apr 20, 2021