diff options
Diffstat (limited to 'tests/testthat')
-rw-r--r-- | tests/testthat/_snaps/multistart/parplot-for-dfop-sfo-fit.svg | 169 | ||||
-rw-r--r-- | tests/testthat/_snaps/multistart/parplot-for-sfo-fit.svg | 4 | ||||
-rw-r--r-- | tests/testthat/test_multistart.R | 2 |
3 files changed, 85 insertions, 90 deletions
diff --git a/tests/testthat/_snaps/multistart/parplot-for-dfop-sfo-fit.svg b/tests/testthat/_snaps/multistart/parplot-for-dfop-sfo-fit.svg index 7017908e..b01dac74 100644 --- a/tests/testthat/_snaps/multistart/parplot-for-dfop-sfo-fit.svg +++ b/tests/testthat/_snaps/multistart/parplot-for-dfop-sfo-fit.svg @@ -25,109 +25,104 @@ </clipPath> </defs> <g clip-path='url(#cpNTkuMDR8Njg5Ljc2fDU5LjA0fDUwMi41Ng==)'> -<polygon points='86.57,280.95 119.94,280.95 119.94,280.68 86.57,280.68 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='86.57' y1='280.78' x2='119.94' y2='280.78' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='103.26' y1='281.01' x2='103.26' y2='280.95' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='103.26' y1='280.63' x2='103.26' y2='280.68' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<polygon points='86.57,280.91 119.94,280.91 119.94,280.26 86.57,280.26 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='86.57' y1='280.71' x2='119.94' y2='280.71' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='103.26' y1='281.01' x2='103.26' y2='280.91' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='103.26' y1='279.89' x2='103.26' y2='280.26' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='94.91' y1='281.01' x2='111.60' y2='281.01' style='stroke-width: 0.75;' /> -<line x1='94.91' y1='280.63' x2='111.60' y2='280.63' style='stroke-width: 0.75;' /> -<polygon points='86.57,280.95 119.94,280.95 119.94,280.68 86.57,280.68 ' style='stroke-width: 0.75; fill: none;' /> -<circle cx='103.26' cy='281.66' r='2.70' style='stroke-width: 0.75;' /> -<circle cx='103.26' cy='279.89' r='2.70' style='stroke-width: 0.75;' /> -<polygon points='128.29,282.46 161.66,282.46 161.66,280.33 128.29,280.33 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='128.29' y1='280.88' x2='161.66' y2='280.88' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='144.97' y1='282.96' x2='144.97' y2='282.46' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='144.97' y1='279.72' x2='144.97' y2='280.33' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='94.91' y1='279.89' x2='111.60' y2='279.89' style='stroke-width: 0.75;' /> +<polygon points='86.57,280.91 119.94,280.91 119.94,280.26 86.57,280.26 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='128.29,281.88 161.66,281.88 161.66,280.33 128.29,280.33 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='128.29' y1='280.61' x2='161.66' y2='280.61' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='144.97' y1='282.96' x2='144.97' y2='281.88' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='144.97' y1='280.24' x2='144.97' y2='280.33' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='136.63' y1='282.96' x2='153.31' y2='282.96' style='stroke-width: 0.75;' /> -<line x1='136.63' y1='279.72' x2='153.31' y2='279.72' style='stroke-width: 0.75;' /> -<polygon points='128.29,282.46 161.66,282.46 161.66,280.33 128.29,280.33 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='170.00,281.20 203.37,281.20 203.37,280.53 170.00,280.53 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='170.00' y1='280.84' x2='203.37' y2='280.84' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='186.69' y1='281.48' x2='186.69' y2='281.20' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='136.63' y1='280.24' x2='153.31' y2='280.24' style='stroke-width: 0.75;' /> +<polygon points='128.29,281.88 161.66,281.88 161.66,280.33 128.29,280.33 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='170.00,281.69 203.37,281.69 203.37,280.53 170.00,280.53 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='170.00' y1='280.75' x2='203.37' y2='280.75' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='186.69' y1='282.58' x2='186.69' y2='281.69' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='186.69' y1='280.35' x2='186.69' y2='280.53' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='178.34' y1='281.48' x2='195.03' y2='281.48' style='stroke-width: 0.75;' /> +<line x1='178.34' y1='282.58' x2='195.03' y2='282.58' style='stroke-width: 0.75;' /> <line x1='178.34' y1='280.35' x2='195.03' y2='280.35' style='stroke-width: 0.75;' /> -<polygon points='170.00,281.20 203.37,281.20 203.37,280.53 170.00,280.53 ' style='stroke-width: 0.75; fill: none;' /> -<circle cx='186.69' cy='279.30' r='2.70' style='stroke-width: 0.75;' /> -<circle cx='186.69' cy='282.58' r='2.70' style='stroke-width: 0.75;' /> -<polygon points='211.71,281.98 245.09,281.98 245.09,280.03 211.71,280.03 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='211.71' y1='281.46' x2='245.09' y2='281.46' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='228.40' y1='282.40' x2='228.40' y2='281.98' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='228.40' y1='279.21' x2='228.40' y2='280.03' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='220.06' y1='282.40' x2='236.74' y2='282.40' style='stroke-width: 0.75;' /> -<line x1='220.06' y1='279.21' x2='236.74' y2='279.21' style='stroke-width: 0.75;' /> -<polygon points='211.71,281.98 245.09,281.98 245.09,280.03 211.71,280.03 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='253.43,281.94 286.80,281.94 286.80,280.63 253.43,280.63 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='253.43' y1='281.42' x2='286.80' y2='281.42' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='270.11' y1='282.62' x2='270.11' y2='281.94' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='270.11' y1='280.34' x2='270.11' y2='280.63' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<polygon points='170.00,281.69 203.37,281.69 203.37,280.53 170.00,280.53 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='211.71,281.83 245.09,281.83 245.09,280.03 211.71,280.03 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='211.71' y1='281.14' x2='245.09' y2='281.14' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='228.40' y1='282.17' x2='228.40' y2='281.83' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='228.40' y1='279.26' x2='228.40' y2='280.03' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='220.06' y1='282.17' x2='236.74' y2='282.17' style='stroke-width: 0.75;' /> +<line x1='220.06' y1='279.26' x2='236.74' y2='279.26' style='stroke-width: 0.75;' /> +<polygon points='211.71,281.83 245.09,281.83 245.09,280.03 211.71,280.03 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='253.43,282.21 286.80,282.21 286.80,280.57 253.43,280.57 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='253.43' y1='281.30' x2='286.80' y2='281.30' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='270.11' y1='282.62' x2='270.11' y2='282.21' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='270.11' y1='280.34' x2='270.11' y2='280.57' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='261.77' y1='282.62' x2='278.46' y2='282.62' style='stroke-width: 0.75;' /> <line x1='261.77' y1='280.34' x2='278.46' y2='280.34' style='stroke-width: 0.75;' /> -<polygon points='253.43,281.94 286.80,281.94 286.80,280.63 253.43,280.63 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='295.14,281.17 328.51,281.17 328.51,278.99 295.14,278.99 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='295.14' y1='280.18' x2='328.51' y2='280.18' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='311.83' y1='282.20' x2='311.83' y2='281.17' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='311.83' y1='277.75' x2='311.83' y2='278.99' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<polygon points='253.43,282.21 286.80,282.21 286.80,280.57 253.43,280.57 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='295.14,281.50 328.51,281.50 328.51,278.14 295.14,278.14 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='295.14' y1='279.67' x2='328.51' y2='279.67' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='311.83' y1='282.20' x2='311.83' y2='281.50' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='311.83' y1='277.75' x2='311.83' y2='278.14' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='303.49' y1='282.20' x2='320.17' y2='282.20' style='stroke-width: 0.75;' /> <line x1='303.49' y1='277.75' x2='320.17' y2='277.75' style='stroke-width: 0.75;' /> -<polygon points='295.14,281.17 328.51,281.17 328.51,278.99 295.14,278.99 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='336.86,281.95 370.23,281.95 370.23,281.00 336.86,281.00 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='336.86' y1='281.48' x2='370.23' y2='281.48' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='353.54' y1='282.69' x2='353.54' y2='281.95' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='353.54' y1='280.80' x2='353.54' y2='281.00' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='345.20' y1='282.69' x2='361.89' y2='282.69' style='stroke-width: 0.75;' /> +<polygon points='295.14,281.50 328.51,281.50 328.51,278.14 295.14,278.14 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='336.86,281.52 370.23,281.52 370.23,280.88 336.86,280.88 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='336.86' y1='281.06' x2='370.23' y2='281.06' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='353.54' y1='281.89' x2='353.54' y2='281.52' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='353.54' y1='280.80' x2='353.54' y2='280.88' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='345.20' y1='281.89' x2='361.89' y2='281.89' style='stroke-width: 0.75;' /> <line x1='345.20' y1='280.80' x2='361.89' y2='280.80' style='stroke-width: 0.75;' /> -<polygon points='336.86,281.95 370.23,281.95 370.23,281.00 336.86,281.00 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='378.57,280.93 411.94,280.93 411.94,280.50 378.57,280.50 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='378.57' y1='280.72' x2='411.94' y2='280.72' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='395.26' y1='281.09' x2='395.26' y2='280.93' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='395.26' y1='280.44' x2='395.26' y2='280.50' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<polygon points='336.86,281.52 370.23,281.52 370.23,280.88 336.86,280.88 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='378.57,281.06 411.94,281.06 411.94,280.72 378.57,280.72 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='378.57' y1='280.91' x2='411.94' y2='280.91' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='395.26' y1='281.09' x2='395.26' y2='281.06' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='395.26' y1='280.64' x2='395.26' y2='280.72' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='386.91' y1='281.09' x2='403.60' y2='281.09' style='stroke-width: 0.75;' /> -<line x1='386.91' y1='280.44' x2='403.60' y2='280.44' style='stroke-width: 0.75;' /> -<polygon points='378.57,280.93 411.94,280.93 411.94,280.50 378.57,280.50 ' style='stroke-width: 0.75; fill: none;' /> -<circle cx='395.26' cy='279.72' r='2.70' style='stroke-width: 0.75;' /> -<polygon points='420.29,409.00 453.66,409.00 453.66,-49.57 420.29,-49.57 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='420.29' y1='94.54' x2='453.66' y2='94.54' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='436.97' y1='656.81' x2='436.97' y2='409.00' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='436.97' y1='-136.13' x2='436.97' y2='-49.57' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='428.63' y1='656.81' x2='445.31' y2='656.81' style='stroke-width: 0.75;' /> +<line x1='386.91' y1='280.64' x2='403.60' y2='280.64' style='stroke-width: 0.75;' /> +<polygon points='378.57,281.06 411.94,281.06 411.94,280.72 378.57,280.72 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='420.29,106.59 453.66,106.59 453.66,-114.09 420.29,-114.09 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='420.29' y1='-49.57' x2='453.66' y2='-49.57' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='436.97' y1='280.80' x2='436.97' y2='106.59' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='436.97' y1='-136.13' x2='436.97' y2='-114.09' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='428.63' y1='280.80' x2='445.31' y2='280.80' style='stroke-width: 0.75;' /> <line x1='428.63' y1='-136.13' x2='445.31' y2='-136.13' style='stroke-width: 0.75;' /> -<polygon points='420.29,409.00 453.66,409.00 453.66,-49.57 420.29,-49.57 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='462.00,280.54 495.37,280.54 495.37,275.74 462.00,275.74 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='462.00' y1='278.14' x2='495.37' y2='278.14' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='478.69' y1='281.75' x2='478.69' y2='280.54' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='478.69' y1='272.26' x2='478.69' y2='275.74' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<polygon points='420.29,106.59 453.66,106.59 453.66,-114.09 420.29,-114.09 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='462.00,281.28 495.37,281.28 495.37,276.14 462.00,276.14 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='462.00' y1='278.79' x2='495.37' y2='278.79' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='478.69' y1='281.75' x2='478.69' y2='281.28' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='478.69' y1='275.48' x2='478.69' y2='276.14' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='470.34' y1='281.75' x2='487.03' y2='281.75' style='stroke-width: 0.75;' /> -<line x1='470.34' y1='272.26' x2='487.03' y2='272.26' style='stroke-width: 0.75;' /> -<polygon points='462.00,280.54 495.37,280.54 495.37,275.74 462.00,275.74 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='503.71,282.63 537.09,282.63 537.09,280.69 503.71,280.69 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='503.71' y1='282.10' x2='537.09' y2='282.10' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='520.40' y1='283.13' x2='520.40' y2='282.63' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='520.40' y1='280.04' x2='520.40' y2='280.69' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='470.34' y1='275.48' x2='487.03' y2='275.48' style='stroke-width: 0.75;' /> +<polygon points='462.00,281.28 495.37,281.28 495.37,276.14 462.00,276.14 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='503.71,282.81 537.09,282.81 537.09,281.44 503.71,281.44 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='503.71' y1='282.28' x2='537.09' y2='282.28' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='520.40' y1='283.13' x2='520.40' y2='282.81' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='520.40' y1='280.80' x2='520.40' y2='281.44' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='512.06' y1='283.13' x2='528.74' y2='283.13' style='stroke-width: 0.75;' /> -<line x1='512.06' y1='280.04' x2='528.74' y2='280.04' style='stroke-width: 0.75;' /> -<polygon points='503.71,282.63 537.09,282.63 537.09,280.69 503.71,280.69 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='545.43,283.04 578.80,283.04 578.80,278.99 545.43,278.99 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='545.43' y1='281.15' x2='578.80' y2='281.15' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='562.11' y1='283.53' x2='562.11' y2='283.04' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='562.11' y1='275.97' x2='562.11' y2='278.99' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='512.06' y1='280.80' x2='528.74' y2='280.80' style='stroke-width: 0.75;' /> +<polygon points='503.71,282.81 537.09,282.81 537.09,281.44 503.71,281.44 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='545.43,282.16 578.80,282.16 578.80,276.63 545.43,276.63 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='545.43' y1='279.04' x2='578.80' y2='279.04' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='562.11' y1='283.53' x2='562.11' y2='282.16' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='562.11' y1='275.97' x2='562.11' y2='276.63' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='553.77' y1='283.53' x2='570.46' y2='283.53' style='stroke-width: 0.75;' /> <line x1='553.77' y1='275.97' x2='570.46' y2='275.97' style='stroke-width: 0.75;' /> -<polygon points='545.43,283.04 578.80,283.04 578.80,278.99 545.43,278.99 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='587.14,284.59 620.51,284.59 620.51,281.02 587.14,281.02 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='587.14' y1='282.38' x2='620.51' y2='282.38' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='603.83' y1='288.19' x2='603.83' y2='284.59' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='603.83' y1='279.95' x2='603.83' y2='281.02' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='595.49' y1='288.19' x2='612.17' y2='288.19' style='stroke-width: 0.75;' /> +<polygon points='545.43,282.16 578.80,282.16 578.80,276.63 545.43,276.63 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='587.14,283.70 620.51,283.70 620.51,280.38 587.14,280.38 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='587.14' y1='281.36' x2='620.51' y2='281.36' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='603.83' y1='285.50' x2='603.83' y2='283.70' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='603.83' y1='279.95' x2='603.83' y2='280.38' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='595.49' y1='285.50' x2='612.17' y2='285.50' style='stroke-width: 0.75;' /> <line x1='595.49' y1='279.95' x2='612.17' y2='279.95' style='stroke-width: 0.75;' /> -<polygon points='587.14,284.59 620.51,284.59 620.51,281.02 587.14,281.02 ' style='stroke-width: 0.75; fill: none;' /> -<polygon points='628.86,292.70 662.23,292.70 662.23,264.27 628.86,264.27 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> -<line x1='628.86' y1='282.03' x2='662.23' y2='282.03' style='stroke-width: 2.25; stroke-linecap: butt;' /> -<line x1='645.54' y1='297.26' x2='645.54' y2='292.70' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> -<line x1='645.54' y1='258.13' x2='645.54' y2='264.27' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<polygon points='587.14,283.70 620.51,283.70 620.51,280.38 587.14,280.38 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='628.86,288.92 662.23,288.92 662.23,261.71 628.86,261.71 ' style='stroke-width: 0.75; stroke: none; fill: #D3D3D3;' /> +<line x1='628.86' y1='272.96' x2='662.23' y2='272.96' style='stroke-width: 2.25; stroke-linecap: butt;' /> +<line x1='645.54' y1='297.26' x2='645.54' y2='288.92' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> +<line x1='645.54' y1='258.13' x2='645.54' y2='261.71' style='stroke-width: 0.75; stroke-dasharray: 4.00,4.00;' /> <line x1='637.20' y1='297.26' x2='653.89' y2='297.26' style='stroke-width: 0.75;' /> <line x1='637.20' y1='258.13' x2='653.89' y2='258.13' style='stroke-width: 0.75;' /> -<polygon points='628.86,292.70 662.23,292.70 662.23,264.27 628.86,264.27 ' style='stroke-width: 0.75; fill: none;' /> +<polygon points='628.86,288.92 662.23,288.92 662.23,261.71 628.86,261.71 ' style='stroke-width: 0.75; fill: none;' /> </g> <g clip-path='url(#cpMC4wMHw3MjAuMDB8MC4wMHw1NzYuMDA=)'> <line x1='103.26' y1='502.56' x2='645.54' y2='502.56' style='stroke-width: 0.75;' /> @@ -194,8 +189,8 @@ <circle cx='104.62' cy='437.18' r='2.70' style='stroke-width: 0.75; stroke: #61D04F;' /> <circle cx='104.62' cy='451.58' r='2.70' style='stroke-width: 0.75; stroke: #DF536B;' /> <circle cx='104.62' cy='465.98' r='2.70' style='stroke-width: 0.75;' /> -<text x='126.22' y='441.31' style='font-size: 12.00px; font-family: sans;' textLength='105.39px' lengthAdjust='spacingAndGlyphs'>Starting parameters</text> -<text x='126.22' y='455.71' style='font-size: 12.00px; font-family: sans;' textLength='62.03px' lengthAdjust='spacingAndGlyphs'>Original run</text> +<text x='126.22' y='441.31' style='font-size: 12.00px; font-family: sans;' textLength='68.03px' lengthAdjust='spacingAndGlyphs'>Original start</text> +<text x='126.22' y='455.71' style='font-size: 12.00px; font-family: sans;' textLength='80.04px' lengthAdjust='spacingAndGlyphs'>Original results</text> <text x='126.22' y='470.11' style='font-size: 12.00px; font-family: sans;' textLength='75.36px' lengthAdjust='spacingAndGlyphs'>Multistart runs</text> </g> </svg> diff --git a/tests/testthat/_snaps/multistart/parplot-for-sfo-fit.svg b/tests/testthat/_snaps/multistart/parplot-for-sfo-fit.svg index a47a585a..c8d4970b 100644 --- a/tests/testthat/_snaps/multistart/parplot-for-sfo-fit.svg +++ b/tests/testthat/_snaps/multistart/parplot-for-sfo-fit.svg @@ -103,8 +103,8 @@ <circle cx='104.62' cy='437.18' r='2.70' style='stroke-width: 0.75; stroke: #61D04F;' /> <circle cx='104.62' cy='451.58' r='2.70' style='stroke-width: 0.75; stroke: #DF536B;' /> <circle cx='104.62' cy='465.98' r='2.70' style='stroke-width: 0.75;' /> -<text x='126.22' y='441.31' style='font-size: 12.00px; font-family: sans;' textLength='105.39px' lengthAdjust='spacingAndGlyphs'>Starting parameters</text> -<text x='126.22' y='455.71' style='font-size: 12.00px; font-family: sans;' textLength='62.03px' lengthAdjust='spacingAndGlyphs'>Original run</text> +<text x='126.22' y='441.31' style='font-size: 12.00px; font-family: sans;' textLength='68.03px' lengthAdjust='spacingAndGlyphs'>Original start</text> +<text x='126.22' y='455.71' style='font-size: 12.00px; font-family: sans;' textLength='80.04px' lengthAdjust='spacingAndGlyphs'>Original results</text> <text x='126.22' y='470.11' style='font-size: 12.00px; font-family: sans;' textLength='75.36px' lengthAdjust='spacingAndGlyphs'>Multistart runs</text> </g> </svg> diff --git a/tests/testthat/test_multistart.R b/tests/testthat/test_multistart.R index 91ef71f0..dda0ea23 100644 --- a/tests/testthat/test_multistart.R +++ b/tests/testthat/test_multistart.R @@ -50,7 +50,7 @@ test_that("multistart works for saem.mmkin models", { llhist_dfop_sfo <- function() llhist(saem_dfop_sfo_m_multi) parplot_dfop_sfo <- function() parplot(saem_dfop_sfo_m_multi, - ylim = c(0.5, 2)) + ylim = c(0.5, 2), llquant = 0.5) vdiffr::expect_doppelganger("llhist for dfop sfo fit", llhist_dfop_sfo) vdiffr::expect_doppelganger("parplot for dfop sfo fit", parplot_dfop_sfo) |