Skip to content

optimflex

Derivative-Based Optimization with User-Defined Convergence Criteria

v0.1.7 · May 30, 2026 · MIT + file LICENSE

Description

Provides a derivative-based optimization framework that allows users to combine eight convergence criteria. Unlike standard optimization functions, this package includes a built-in mechanism to verify the positive definiteness of the Hessian matrix at the point of convergence. This additional check helps prevent the solver from falsely identifying non-optimal solutions, such as saddle points, as valid minima.

Downloads

CRAN

429

Last 30 days

9321st

1.2K

Last 90 days

1.2K

Last year

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

r2u CRAN

8

Last 30 days

25

Last 90 days

35

Last year

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

autoCRAN

0

Last 7 days

1

Last 30 days

0

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

relative paths in package URLs

Checking relative paths failed with message:
  cannot open the connection
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 6 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 12, 2026
ERROR r-oldrel-macos-arm64

tests

Running ‘testthat.R’ [0s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional te
...[truncated]...
ization suite works on Rosenbrock ──
  Expected `res$converged` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  Convergence failed: dfp
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
  Error:
  ! Test failures.
  Execution halted

Dependency Network

Dependencies Reverse dependencies numDeriv optimflex

Version History

3 tracked
updated 0.1.7 ← 0.1.6 diff May 31, 2026
new 0.1.6 Apr 11, 2026
new 0.1.0 Feb 6, 2026