Skip to content

osqp

1.0.0

Quadratic Programming Solver using the 'OSQP' Library

27packages depend
195.6Kdownloads / year
78.5%test coverage
13/13checks pass

Overview

About
Maintained by Balasubramanian NarasimhanFirst published 2018-07-0118 releasesCRAN page ↗GitHub ↗

Provides bindings to the 'OSQP' solver. The 'OSQP' solver is a numerical optimization package for solving convex quadratic programs written in 'C' and based on the alternating direction method of multipliers. See doi:10.48550/arXiv.1711.08013 for details.

Install

Health

CRAN checks
13OK
Slowest check: 4.5 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.92
78.5%
Coverage · measured lines
100%
Documentation · exports
5
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-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • WARNING2026-04-22
    11 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 2 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-03-10
    11 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 113 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
42%
Return-value docs
67%
References docs
25%

Downloads

195.6K
CRAN downloads in the past year
Rank #967 · ~536/day · ~16.3K/mo
Daily download trend is not available in this view yet.
13K30 days
43.3K90 days
195.6K1 year
Compare downloads with other packages →
Also on3.1K r2u2 autocran47K conda_forge71 c2d4u

Repository

Repository
16Stars
9Forks
6Open issues
0Open PRs
6Releases
228Commits
4Contributors
convex-optimizationquadratic-programmingadmmoperator-splittinglassomachine-learningr
License Apache-2.0 · 228 commits · Last activity 2026-02-28 · 0% stars, 30d

Stars over time

2025-06-13 · 132026-07-07 · 16

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/osqp/osqp-r on 2026-08-16.

Continuous integration (2)
GitHub ActionsAppVeyor
CRAN release process (1)
cran-comments.md
Git structural (2)
.gitattributesSubmodules
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-02-16

claude

Most recent: claude on 2026-02-16

Evidence
  • claude: on or before 2026-02-16 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (5)
RcppmethodsMatrixS7cli
LinkingTo (1)
Enhances (0)
none

Code & Tests

People & History

People (7)
Maintainer (1)
Maintainer, Author · added in 0.6.0.6
Authors (6)
Maintainer, Author · added in 0.6.0.6
Author, Contributor, Copyright holder
Author, Contributor · added in 0.6.0.4
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Contributors (6)
Author, Contributor, Copyright holder
Author, Contributor · added in 0.6.0.4
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Contributor
Copyright holders (4)
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Author, Contributor, Copyright holder
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-01 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.6.3.3
    2024-06-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6.3.2
    2023-10-20 · diff ↗
  • 0.6.3.1
    2023-10-04 · diff ↗
  • 0.6.3
    2023-10-03 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.0.8
    2023-01-31 · diff ↗
  • 0.6.0.7
    2022-11-09 · diff ↗
  • 0.6.0.6
    2022-09-29 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6.0.5
    2021-12-07 · diff ↗
  • 0.6.0.4
    2021-12-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 11 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 0.6.0.3
    2019-10-28 · diff ↗
  • 0.6.0.2
    2019-09-11 · diff ↗
  • 0.6.0.1
    2019-09-07 · diff ↗
  • 0.6.0
    2019-09-04 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.5.0
    2018-12-11 · diff ↗
  • 0.4.1
    2018-09-27 · diff ↗
  • 0.4.0
    2018-07-24 · diff ↗
  • 0.3.1
    2018-07-01
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-07-01
Total releases
18 / 8 yrs
License
Apache License 2.0 | file LICENSE OSI
Download size
446 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("osqp")
Narasimhan, B., Anderson, E., Banjac, G., Bansal, V., Boyd, S., Goulart, P., & Stellato, B. (2026). osqp: Quadratic Programming Solver using the 'OSQP' Library (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.osqp

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 osqp version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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