Skip to content

NMF

Algorithms and Framework for Nonnegative Matrix Factorization (NMF)

v0.28 · Aug 22, 2024 · GPL (>= 2)

Description

Provides a framework to perform Non-negative Matrix Factorization (NMF). The package implements a set of already published algorithms and seeding methods, and provides a framework to test, develop and plug new/custom algorithms. Most of the built-in algorithms have been optimized in C++, and the main interface function provides an easy way of performing parallel computations on multicore machines.

Downloads

CRAN

16.3K

Last 30 days

915th

51.9K

Last 90 days

179.6K

Last year

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

r2u CRAN

108

Last 30 days

338

Last 90 days

1.2K

Last year

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

conda-forge CRAN

1K

Last 30 days

3.3K

Last 90 days

11.9K

Last year

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

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 Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘doMPI’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘doMPI’

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

41,984

Files

214

Compiled share

2.5%

Has compiled src

Yes

Language breakdown

R 25,620 (61%)C/C++/src 1,057 (2.5%)Docs 13,310 (31.7%)Vignettes 1,997 (4.8%)

API

Exported functions

170

Internal functions

279

Recent export changes

v0.5+2 isNMFfit, rmatrix

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

49.3%

\dontrun example ratio

0%

Roxygen coverage

98.8%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

29.8%

Unsafe pattern score

17

Dep constraint coverage

9.5%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

33

First release

2009-08-25

Latest release

2024-08-22

Avg cadence

15 days

Cold removal rate

100%

Dep drift

24

LOC over versions

v0.2: 7,837 LOCv0.2.2: 7,837 LOCv0.2.3: 8,328 LOCv0.2.4: 8,360 LOCv0.3.1: 9,466 LOCv0.3.3: 9,467 LOCv0.4: 11,967 LOCv0.4.1: 12,101 LOCv0.4.3: 12,202 LOCv0.4.4: 12,254 LOCv0.4.6: 12,254 LOCv0.4.7: 12,265 LOCv0.4.8: 12,268 LOCv0.5: 13,121 LOCv0.5.02: 13,124 LOCv0.5.05: 13,124 LOCv0.5.06: 13,147 LOCv0.16.1: 38,386 LOCv0.16.2: 38,334 LOCv0.16.6: 38,418 LOCv0.17: 38,411 LOCv0.20: 39,070 LOCv0.20.2: 39,422 LOCv0.20.5: 39,441 LOCv0.20.6: 39,473 LOCv0.21.0: 38,921 LOCv0.22.0: 38,989 LOCv0.23.0: 38,967 LOCv0.24.0: 38,966 LOCv0.25: 41,965 LOCv0.26: 41,954 LOCv0.27: 41,984 LOCv0.28: 41,984 LOC

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

Reverse Dependencies (19)

Dependency Network

Dependencies Reverse dependencies registry rngtools cluster stringr digest gridBase colorspace RColorBrewer foreach doParallel ggplot2 reshape2 Biobase codetools BiocManager CNSigs IntNMF InterSIM fabisearch DBNMFrank MetabolSSMF SpNMF hNMF scITD shattering sigminer CimpleG Evacluster crassmat diceR +4 more reverse deps NMF

Version History

34 tracked
new 0.28 Mar 10, 2026
updated 0.28 ← 0.27 diff Aug 21, 2024
updated 0.27 ← 0.26 diff Feb 7, 2024
updated 0.26 ← 0.25 diff Mar 19, 2023
updated 0.25 ← 0.24.0 diff Nov 17, 2022
updated 0.24.0 ← 0.23.0 diff Mar 29, 2022
updated 0.23.0 ← 0.22.0 diff Jul 31, 2020
updated 0.22.0 ← 0.21.0 diff Feb 11, 2020
updated 0.21.0 ← 0.20.6 diff Mar 5, 2018
updated 0.20.6 ← 0.20.5 diff May 25, 2015
updated 0.20.5 ← 0.20.2 diff Mar 17, 2014
updated 0.20.2 ← 0.20 diff Mar 8, 2014
updated 0.20 ← 0.17 diff Oct 31, 2013
updated 0.17 ← 0.16.6 diff May 14, 2013
updated 0.16.6 ← 0.16.2 diff May 12, 2013