Skip to content

nnls

1.6

The Lawson-Hanson Algorithm for Non-Negative Least Squares (NNLS)

54packages depend
250.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Katharine MullenFirst published 2007-10-157 releasesCRAN page ↗

An R interface to the Lawson-Hanson implementation of an algorithm for non-negative least squares (NNLS). Also allows the combination of non-negative and non-positive constraints.

Install

Health

CRAN checks
13OK
Slowest check: 51 s · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

250.7K
CRAN downloads in the past year
Rank #810 · ~687/day · ~20.9K/mo
Daily download trend is not available in this view yet.
23.3K30 days
62.7K90 days
250.7K1 year
Compare downloads with other packages →
Also on2.3K r2u8 autocran12.2K conda_forge1.7K c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none

Code & Tests

People & History

People (3)
Maintainer (1)
Maintainer · added in 1.6
Authors (2)
Listed in earlier versions (2)
no longer listed · 1.6
no longer listed · 1.6
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.6Latest
    2024-10-23 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5
    2023-09-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
Show 15 earlier events
  • R
    R 2.15.0 released · 2012-03-30
  • 1.4
    2012-03-19 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 1.3
    2010-04-13 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • 1.2
    2008-09-09 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 1.1
    2007-12-03 · diff ↗
  • 1.0
    2007-10-15
  • R
    R 2.6.0 released · 2007-10-03

Package metadata

First published
2007-10-15
Total releases
7 / 19 yrs
License
GPL (>= 2) OSI
Download size
11 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("nnls")
Mullen, K., Mullen, K. M., & van Stokkum, I. H. M. (2024). nnls: The Lawson-Hanson Algorithm for Non-Negative Least Squares (NNLS) (Version 1.6) [Computer software]. https://doi.org/10.32614/CRAN.package.nnls

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the 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 nnls version 1.6 [Data set]. HJJB, LLC. Data release v2026-08-11. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-11, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy