Loading mkin Testing mkin ✔ | OK F W S | Context ✔ | 2 | Export dataset for reading into CAKE ✔ | 13 | Results for FOCUS D established in expertise for UBA (Ranke 2014) [3.8 s] ✔ | 4 | Calculation of FOCUS chi2 error levels [2.3 s] ✔ | 4 | Fitting the SFORB model [1.7 s] ✔ | 5 | Calculation of Akaike weights ✔ | 10 | Confidence intervals and p-values [10.2 s] ✔ | 14 | Error model fitting [40.7 s] ✔ | 6 | Test fitting the decline of metabolites from their maximum [0.8 s] ✔ | 1 | Fitting the logistic model [1.0 s] ✔ | 1 | Test dataset class mkinds used in gmkin ✖ | 11 1 | Special cases of mkinfit calls [2.3 s] ──────────────────────────────────────────────────────────────────────────────── test_mkinfit_errors.R:64: failure: We get reproducible output if quiet = FALSE Results have changed from known value recorded in 'DFOP_FOCUS_C_messages.txt'. 2/165 mismatches x[84]: "Sum of squared residuals at call 57: 4.364077" y[84]: "Sum of squared residuals at call 57: 4.364078" x[105]: "85.00134 -0.7776046 -4.025878 1.248775 " y[105]: "85.00135 -0.7776046 -4.025878 1.248775 " ──────────────────────────────────────────────────────────────────────────────── ✔ | 9 | mkinmod model generation and printing [0.2 s] ✔ | 3 | Model predictions with mkinpredict [0.3 s] ✔ | 16 | Evaluations according to 2015 NAFTA guidance [4.3 s] ✔ | 4 | Calculation of maximum time weighted average concentrations (TWAs) [2.2 s] ✔ | 3 | Summary ✖ | 10 1 | Plotting [0.6 s] ──────────────────────────────────────────────────────────────────────────────── test_plots_summary_twa.R:118: failure: Plotting mkinfit and mmkin objects is reproducible Figures don't match: plot-errmod-with-sfo-lin-a-obs.svg ──────────────────────────────────────────────────────────────────────────────── ✔ | 4 | AIC calculation ✔ | 2 | Residuals extracted from mkinfit models ✔ | 2 | Complex test case from Schaefer et al. (2007) Piacenza paper [5.6 s] ✔ | 1 | Summaries of old mkinfit objects ✔ | 4 | Results for synthetic data established in expertise for UBA (Ranke 2014) [7.4 s] ✔ | 7 1 | Hypothesis tests [33.6 s] ──────────────────────────────────────────────────────────────────────────────── test_tests.R:60: skip: We can do a likelihood ratio test using an update specification Reason: This errors out if called by testthat while it works in a normal R session ──────────────────────────────────────────────────────────────────────────────── ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 117.3 s OK: 136 Failed: 2 Warnings: 0 Skipped: 1