Skip to content

roptim

0.1.7Package record

General Purpose Optimization in R using C++

8packages depend
45.8Kdownloads / year
22.6%test coverage
13/13flavors OK

Overview

About

Perform general purpose optimization in R using C++. A unified wrapper interface is provided to call C functions of the five optimization algorithms ('Nelder-Mead', 'BFGS', 'CG', 'L-BFGS-B' and 'SANN') underlying optim().

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.7
README· In the repository, left out of the releaseVignettesYes · 1 · staticNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
8includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
86%
Documented parameters
100%
Return-value docs
0%
Help pages citing references
0%

Downloads

45.8K
CRAN downloads in the past year
Rank #1,594 · ~126/day · ~3.8K/mo
Daily download trend is not available in this view yet.
4.5K30 days
14.5K90 days
45.8K1 year
Compare downloads with other packages →
Also on1.2K r2u6 autocran9.6K conda_forge116 c2d4u

Repository

22Stars
5Forks
1Open issues
0Open PRs
0Releases
47Commits
5Commit identities
nelder-meadbfgsconjugate-gradientl-bfgs-bsimulated-annealingcranoptimarmadillo
47 commits · Last activity 2025-10-02 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
8

Stars over time

2025-10-08 · 212026-07-07 · 22
PracticesBeta

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

Checks run against github.com/ypan1988/roptim on 2026-10-11.

Continuous integration (1)
Travis CI (config file)
Governance and community (1)

The repository owner accepts GitHub Sponsors

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing roptim adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (0)
none
Imports (1)
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
8direct
13indirect
LinkingTo 8
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2018)
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.7Latest
    record
    2025-10-03 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.6
    record
    2022-08-06 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.5
    record
    2020-06-29 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.4
    record
    2020-04-02 · diff ↗
  • 0.1.3
    record
    2020-03-28 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.2
    record
    2018-11-12 · diff ↗
  • 0.1.1
    record
    2018-10-18 · diff ↗
  • 0.1.0
    record
    2018-09-30
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-09-30
Total releases
8 / 8 yrs
License
GPL (>= 2) OSI
Download size
170 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("roptim")
Pan, Y. (2025). roptim: General Purpose Optimization in R using C++ (Version 0.1.7) [Computer software]. https://doi.org/10.32614/CRAN.package.roptim

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 roptim version 0.1.7 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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