R Under development (unstable) (2024-04-23 r86473 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > ## source R-script at inst/unit_tests/unit_test_gslnls.R > source(system.file("unit_tests", "unit_tests_gslnls.R", package = "gslnls"), local = TRUE) Loading required package: gslnls Loading required package: Matrix Running gsnls unit tests... iter 1: ssr = 586.393, par = (674.168, 0.000200649) iter 2: ssr = 223.939, par = (455.269, 0.000245159) iter 3: ssr = 51.497, par = (388.435, 0.000306208) iter 4: ssr = 38.9436, par = (328.231, 0.000369903) iter 5: ssr = 7.20293, par = (301.398, 0.000416731) iter 6: ssr = 3.09028, par = (281.434, 0.00045268) iter 7: ssr = 1.463, par = (266.047, 0.000483759) iter 8: ssr = 0.607647, par = (255.471, 0.000507893) iter 9: ssr = 0.277058, par = (246.99, 0.000528517) iter 10: ssr = 0.147434, par = (242.193, 0.000541258) iter 11: ssr = 0.125826, par = (239.538, 0.000548465) iter 12: ssr = 0.124556, par = (238.987, 0.000550031) iter 13: ssr = 0.124551, par = (238.943, 0.000550153) iter 14: ssr = 0.124551, par = (238.942, 0.000550156) iter 15: ssr = 0.124551, par = (238.942, 0.000550156) iter 16: ssr = 0.124551, par = (238.942, 0.000550156) ******************* summary from method 'multifit/levenberg-marquardt' number of iterations: 16 reason for stopping: input domain error initial ssr = 10780.2 final ssr = 0.124551 ssr/dof = 0.0103793 ssr achieved tolerance = 1.11716e-14 function evaluations: 53 jacobian evaluations: 0 fvv evaluations: 0 status = success ******************* iter 1: ssr = 4.99001e-06, par = (-0.999001, -0.999001, -0.999001, -0.999001, -0.999001) iter 2: ssr = 5.54079e-13, par = (-1, -1, -1, -1, -1) iter 3: ssr = 6.49574e-21, par = (-1, -1, -1, -1, -1) ******************* summary from method 'multifit/levenberg-marquardt+accel' number of iterations: 3 reason for stopping: output range error initial ssr = 5 final ssr = 6.49574e-21 ssr/dof = inf ssr achieved tolerance = 5.54079e-13 function evaluations: 7 jacobian evaluations: 4 fvv evaluations: 0 status = success ******************* iter 1: ssr = 586.393, |x|^2 = 454502, cond(J) = 1.85011e+08 iter 2: ssr = 223.94, |x|^2 = 207270, cond(J) = 8.21035e+07 iter 3: ssr = 51.4968, |x|^2 = 150881, cond(J) = 4.37488e+07 iter 4: ssr = 38.944, |x|^2 = 107735, cond(J) = 2.46605e+07 iter 5: ssr = 7.20277, |x|^2 = 90840.7, cond(J) = 1.74949e+07 iter 6: ssr = 3.09038, |x|^2 = 79204.5, cond(J) = 1.3639e+07 iter 7: ssr = 1.46293, |x|^2 = 70781.2, cond(J) = 1.11458e+07 iter 8: ssr = 0.60766, |x|^2 = 65265.1, cond(J) = 9.6137e+06 iter 9: ssr = 0.277044, |x|^2 = 61004.2, cond(J) = 8.51113e+06 iter 10: ssr = 0.147436, |x|^2 = 58657.5, cond(J) = 7.91613e+06 iter 11: ssr = 0.125826, |x|^2 = 57378.5, cond(J) = 7.60256e+06 iter 12: ssr = 0.124556, |x|^2 = 57114.8, cond(J) = 7.53713e+06 iter 13: ssr = 0.124551, |x|^2 = 57094, cond(J) = 7.53205e+06 iter 14: ssr = 0.124551, |x|^2 = 57093.3, cond(J) = 7.5319e+06 iter 15: ssr = 0.124551, |x|^2 = 57093.3, cond(J) = 7.5319e+06 iter 16: ssr = 0.124551, |x|^2 = 57093.3, cond(J) = 7.5319e+06 ******************* summary from method 'multilarge/levenberg-marquardt' number of iterations: 16 reason for stopping: input domain error initial ssr = 10780.2 final ssr = 0.124551 ssr/dof = 0.0103793 ssr achieved tolerance = 0 function evaluations: 34 jacobian-vector product evaluations: 16 jacobian-jacobian product evaluations: 16 fvv evaluations: 0 status = success ******************* iter 1: ssr = 4.99001e-06, |x|^2 = 4.99001, cond(J) = 1 iter 2: ssr = 5.54077e-13, |x|^2 = 5, cond(J) = 1 iter 3: ssr = 6.83911e-21, |x|^2 = 5, cond(J) = 1 ******************* summary from method 'multilarge/levenberg-marquardt' number of iterations: 3 reason for stopping: output range error initial ssr = 5 final ssr = 6.83911e-21 ssr/dof = inf ssr achieved tolerance = 5.54077e-13 function evaluations: 4 jacobian-vector product evaluations: 4 jacobian-jacobian product evaluations: 4 fvv evaluations: 0 status = success ******************* mstart ssr* = 1168.01, det(JTJ) = 109337, NSP = 1, NWSP = 0, par = (213.809, 0.547239) multi-start algorithm finished successfully (NSP = 1, NWSP = 3, # iterations = 8) ******************* iter 1: ssr = 1168.01, par = (213.809, 0.547238) iter 2: ssr = 1168.01, par = (213.809, 0.547238) iter 3: ssr = 1168.01, par = (213.809, 0.547238) iter 4: ssr = 1168.01, par = (213.809, 0.547237) iter 5: ssr = 1168.01, par = (213.809, 0.547237) ******************* summary from method 'multifit/levenberg-marquardt' number of iterations: 5 reason for stopping: input domain error initial ssr = 1168.01 final ssr = 1168.01 ssr/dof = 292.002 ssr achieved tolerance = 4.54747e-13 function evaluations: 18 jacobian evaluations: 0 fvv evaluations: 0 status = success ******************* mstart ssr* = 0.773199, det(JTJ) = 1.94502, NSP = 1, NWSP = 0, par = (-0.155598, 0.694554) multi-start algorithm finished successfully (NSP = 1, NWSP = 3, # iterations = 8) ******************* iter 1: ssr = 0.773199, par = (-0.155326, 0.694571) iter 2: ssr = 0.773199, par = (-0.155514, 0.694559) iter 3: ssr = 0.773199, par = (-0.155384, 0.694567) iter 4: ssr = 0.773199, par = (-0.155474, 0.694561) iter 5: ssr = 0.773199, par = (-0.155412, 0.694565) iter 6: ssr = 0.773199, par = (-0.155455, 0.694563) iter 7: ssr = 0.773199, par = (-0.155425, 0.694565) iter 8: ssr = 0.773199, par = (-0.155446, 0.694563) iter 9: ssr = 0.773199, par = (-0.155431, 0.694564) iter 10: ssr = 0.773199, par = (-0.155441, 0.694564) iter 11: ssr = 0.773199, par = (-0.155434, 0.694564) iter 12: ssr = 0.773199, par = (-0.155439, 0.694564) iter 13: ssr = 0.773199, par = (-0.155436, 0.694564) iter 14: ssr = 0.773199, par = (-0.155438, 0.694564) iter 15: ssr = 0.773199, par = (-0.155437, 0.694564) iter 16: ssr = 0.773199, par = (-0.155438, 0.694564) iter 17: ssr = 0.773199, par = (-0.155437, 0.694564) iter 18: ssr = 0.773199, par = (-0.155437, 0.694564) iter 19: ssr = 0.773199, par = (-0.155437, 0.694564) iter 20: ssr = 0.773199, par = (-0.155437, 0.694564) iter 21: ssr = 0.773199, par = (-0.155437, 0.694564) iter 22: ssr = 0.773199, par = (-0.155437, 0.694564) iter 23: ssr = 0.773199, par = (-0.155437, 0.694564) iter 24: ssr = 0.773199, par = (-0.155437, 0.694564) iter 25: ssr = 0.773199, par = (-0.155437, 0.694564) iter 26: ssr = 0.773199, par = (-0.155437, 0.694564) iter 27: ssr = 0.773199, par = (-0.155437, 0.694564) iter 28: ssr = 0.773199, par = (-0.155437, 0.694564) ******************* summary from method 'multifit/levenberg-marquardt' number of iterations: 28 reason for stopping: input domain error initial ssr = 0.773199 final ssr = 0.773199 ssr/dof = 0.773199 ssr achieved tolerance = 0 function evaluations: 100 jacobian evaluations: 0 fvv evaluations: 0 status = success ******************* 'as(, "dgTMatrix")' is deprecated. Use 'as(as(as(., "dMatrix"), "generalMatrix"), "TsparseMatrix")' instead. See help("Deprecated") and help("Matrix-deprecated"). Loading required namespace: MASS Failed with error: 'there is no package called 'MASS'' Completed gslnls unit tests > > proc.time() user system elapsed 1.68 0.10 1.78