Skip to content

nlsr

Functions for Nonlinear Least Squares Solutions - Updated 2022

v2023.8.31 · Sep 5, 2023 · GPL-2

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

491

Last 30 days

7976th

1.4K

Last 90 days

9.2K

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 details (1 non-OK)
ERROR r-oldrel-windows-x86_64

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 `fbf91f55cafdb64fbb1f21a7f07983599fd4dadd.pdf'
 not found: using draft setting.

Error: processing vignette 'Intro-to-nlsr.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/nlsr.Rcheck/vign_test/nlsr/vignettes/Intro-to-nlsr.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Intro-to-nlsr.log for more info.
--- failed re-building 'Intro-to-nlsr.Rmd'

--- re-building 'R-analytic-derivatives.Rmd' using rmarkdown
Loading required package: Ryacas

Attaching package: 'Ryacas'

The following object is masked from 'package:stats':

    integrate

The following objects are masked from 'package:base':

    %*%, det, diag, diag<-, lower.tri, upper.tri

--- finished re-building 'R-analytic-derivatives.Rmd'

--- re-building 'nlsr-derivs.Rmd' using rmarkdown
Loading required package: Ryacas

Attaching package: 'Ryacas'

The following object is masked from 'package:stats':

    integrate

The following objects are masked from 'package:base':

    %*%, det, diag, diag<-, lower.tri, upper.tri

--- finished 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

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

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

Reverse Dependencies (4)

depends

Dependency Network

Dependencies Reverse dependencies digest colf beezdemand genSEIR usl nlsr

Version History

new 2023.8.31 Mar 10, 2026
updated 2023.8.31 ← 2023.5.8 diff Sep 4, 2023
updated 2023.5.8 ← 2023.2.12 diff May 9, 2023
updated 2023.2.12 ← 2023.2.8 diff Feb 13, 2023
updated 2023.2.8 ← 2022.8.16 diff Feb 8, 2023
updated 2022.8.16 ← 2021.8.19 diff Aug 15, 2022
updated 2021.8.19 ← 2019.9.7 diff Aug 19, 2021
updated 2019.9.7 ← 2018.1.28 diff Sep 7, 2019
updated 2018.1.28 ← 2017.10.4 diff Jan 31, 2018
updated 2017.10.4 ← 2017.6.18 diff Oct 4, 2017
updated 2017.6.18 ← 2017.2.19 diff Jun 19, 2017
updated 2017.2.19 ← 2017.2.12 diff Feb 23, 2017
new 2017.2.12 Feb 12, 2017