nlsr
Functions for Nonlinear Least Squares Solutions - Updated 2022
Description
Provides tools for working with nonlinear least squares problems. For the estimation of models reliable and robust tools than nls(), where the the Gauss-Newton method frequently stops with 'singular gradient' messages. This is accomplished by using, where possible, analytic derivatives to compute the matrix of derivatives and a stabilization of the solution of the estimation equations. Tools for approximate or externally supplied derivative matrices are included. Bounds and masks on parameters are handled properly.
Downloads
883
Last 30 days
3894th
2.3K
Last 90 days
10.1K
Last year
Trend: +6.5% (30d vs prior 30d)
9
Last 30 days
60
Last 90 days
162
Last year
Trend: -60.9% (30d vs prior 30d)
8
Last 7 days
19
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
9
Last 30 days
25
Last 90 days
35
Last year
Trend: -40% (30d vs prior 30d)
CRAN Check Status
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
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'FixedParameters.Rmd' using rmarkdown --- finished re-building 'FixedParameters.Rmd' --- re-building 'Intro-to-nlsr.Rmd' using rmarkdown ! Package pdftex.def Error: File `fbf91f55cafdb64fbb1f21a7f07 ...[truncated]... ed re-building 'nlsr-derivs.Rmd' --- re-building 'nlsr-devdoc.Rmd' using rmarkdown --- finished re-building 'nlsr-devdoc.Rmd' SUMMARY: processing the following file failed: 'Intro-to-nlsr.Rmd' Error: Vignette re-building failed. Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
44 35 exported
Complexity
9.5 avg / 126 max
Call network
44 nodes / 20 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
15,657
Files
86
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
39
Internal functions
10
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.25
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
54.8%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
6
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5
System requirements
–
C++ standard
–
License
GPL-2
License flags
SPDX valid, OSI approved
History
Versions
13
First release
2017-02-13
Latest release
2026-05-01
Avg cadence
118 days
Cold removal rate
100%
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.