Running ‘testthat.R’ [66s/66s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Unsetting R_TESTS is a workaround for an R bug, see
  > # http://github.com/hadley/testthat/issues/144
  > # Should be removed once the issue is resolved
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(mkin)
  Loading required package: minpack.lm
  Loading required package: rootSolve
  Loading required package: inline
  Loading required package: parallel
  > 
  > test_check("mkin")
  Model cost at call  1 :  2154.97 
  Model cost at call  2 :  2154.97 
  Model cost at call  4 :  2154.97 
  Model cost at call  5 :  388.1874 
  Model cost at call  9 :  198.5808 
  Model cost at call  10 :  198.5806 
  Model cost at call  13 :  167.315 
  Model cost at call  15 :  167.315 
  Model cost at call  17 :  122.5165 
  Model cost at call  21 :  110.3697 
  Model cost at call  25 :  99.37279 
  Model cost at call  26 :  99.37279 
  Model cost at call  29 :  85.86611 
  Model cost at call  30 :  85.86609 
  Model cost at call  33 :  83.79827 
  Model cost at call  35 :  83.79825 
  Model cost at call  37 :  77.76253 
  Model cost at call  39 :  77.76252 
  Model cost at call  40 :  77.76252 
  Model cost at call  41 :  74.85232 
  Model cost at call  45 :  71.07131 
  Model cost at call  49 :  69.06891 
  Model cost at call  53 :  65.69063 
  Model cost at call  54 :  65.69063 
  Model cost at call  57 :  63.81175 
  Model cost at call  58 :  63.81174 
  Model cost at call  61 :  61.77925 
  Model cost at call  65 :  60.68903 
  Model cost at call  69 :  58.787 
  Model cost at call  73 :  57.79497 
  Model cost at call  77 :  56.72184 
  Model cost at call  78 :  56.72184 
  Model cost at call  81 :  56.27078 
  Model cost at call  82 :  56.27077 
  Model cost at call  85 :  55.76643 
  Model cost at call  89 :  55.06746 
  Model cost at call  93 :  54.77276 
  Model cost at call  97 :  54.46434 
  Model cost at call  101 :  53.97205 
  Model cost at call  105 :  53.7466 
  Model cost at call  109 :  53.45332 
  Model cost at call  113 :  53.15008 
  Model cost at call  117 :  52.86986 
  Model cost at call  122 :  52.79098 
  Model cost at call  126 :  52.64382 
  Model cost at call  127 :  52.56244 
  Model cost at call  131 :  52.37317 
  Model cost at call  135 :  52.28613 
  Model cost at call  139 :  52.21403 
  Model cost at call  143 :  52.11048 
  Model cost at call  147 :  51.97231 
  Model cost at call  151 :  51.91928 
  Model cost at call  155 :  51.82047 
  Model cost at call  159 :  51.72574 
  Model cost at call  163 :  51.67892 
  Model cost at call  167 :  51.64125 
  Model cost at call  171 :  51.58146 
  Model cost at call  175 :  51.5052 
  Model cost at call  179 :  51.47658 
  Model cost at call  183 :  51.42418 
  Model cost at call  187 :  51.36674 
  Model cost at call  188 :  51.36674 
  Model cost at call  189 :  51.36674 
  Model cost at call  191 :  51.33535 
  Model cost at call  193 :  51.33534 
  Model cost at call  194 :  51.33534 
  Model cost at call  196 :  51.31702 
  Model cost at call  200 :  51.28896 
  Model cost at call  204 :  51.2393 
  Model cost at call  208 :  51.22069 
  Model cost at call  212 :  51.19255 
  Model cost at call  216 :  51.15345 
  Model cost at call  217 :  51.15345 
  Model cost at call  218 :  51.15345 
  Model cost at call  220 :  51.13266 
  Model cost at call  222 :  51.13266 
  Model cost at call  223 :  51.13266 
  Model cost at call  226 :  51.12202 
  Model cost at call  230 :  51.10296 
  Model cost at call  234 :  51.07371 
  Model cost at call  238 :  51.04741 
  Model cost at call  239 :  51.04741 
  Model cost at call  240 :  51.04741 
  Model cost at call  242 :  51.02986 
  Model cost at call  244 :  51.02986 
  Model cost at call  245 :  51.02986 
  Model cost at call  246 :  51.02986 
  Model cost at call  247 :  51.02375 
  Model cost at call  251 :  51.01376 
  Model cost at call  255 :  51.00251 
  Model cost at call  256 :  50.98965 
  Model cost at call  260 :  50.97163 
  Model cost at call  273 :  50.9692 
  Model cost at call  274 :  50.9692 
  Model cost at call  275 :  50.9692 
  Model cost at call  277 :  50.96879 
  Model cost at call  278 :  50.96879 
  Model cost at call  280 :  50.96879 
  Model cost at call  281 :  50.96878 
  Model cost at call  282 :  50.96878 
  Model cost at call  283 :  50.96874 
  Model cost at call  284 :  50.96861 
  Model cost at call  285 :  50.96807 
  Model cost at call  286 :  50.96592 
  Model cost at call  289 :  50.96592 
  Model cost at call  290 :  50.96592 
  Model cost at call  294 :  50.96536 
  Model cost at call  296 :  50.96536 
  Model cost at call  300 :  50.96423 
  Model cost at call  303 :  50.96423 
  Model cost at call  304 :  50.96423 
  Model cost at call  308 :  50.964 
  Model cost at call  310 :  50.964 
  Model cost at call  314 :  50.96356 
  Model cost at call  317 :  50.96356 
  Model cost at call  318 :  50.96356 
  Model cost at call  322 :  50.96347 
  Model cost at call  324 :  50.96347 
  Model cost at call  328 :  50.96329 
  Model cost at call  329 :  50.96275 
  Model cost at call  332 :  50.96275 
  Model cost at call  333 :  50.96275 
  Model cost at call  339 :  50.96275 
  Model cost at call  341 :  50.96275 
  Model cost at call  345 :  50.96275 
  Model cost at call  348 :  50.96275 
  Model cost at call  349 :  50.96275 
  Model cost at call  353 :  50.96275 
  Model cost at call  355 :  50.96275 
  Model cost at call  359 :  50.96275 
  Model cost at call  362 :  50.96275 
  Model cost at call  364 :  50.96275 
  Model cost at call  368 :  50.96275 
  Model cost at call  370 :  50.96275 
  Model cost at call  374 :  50.96274 
  Model cost at call  375 :  50.96274 
  Model cost at call  377 :  50.96274 
  Model cost at call  379 :  50.96274 
  Model cost at call  382 :  50.96274 
  Model cost at call  384 :  50.96274 
  Model cost at call  389 :  50.96274 
  Model cost at call  391 :  50.96274 
  Model cost at call  395 :  50.96274 
  Model cost at call  397 :  50.96274 
  Model cost at call  401 :  50.96274 
  Model cost at call  403 :  50.96274 
  Model cost at call  408 :  50.96274 
  Model cost at call  410 :  50.96274 
  Model cost at call  415 :  50.96274 
  Model cost at call  417 :  50.96274 
  Model cost at call  421 :  50.96274 
  Model cost at call  422 :  50.96274 
  Model cost at call  424 :  50.96274 
  Model cost at call  425 :  50.96274 
  Model cost at call  429 :  50.96274 
  Model cost at call  431 :  50.96274 
  Model cost at call  438 :  50.96274 
  Model cost at call  445 :  50.96274 
  Model cost at call  452 :  50.96274 
  Model cost at call  459 :  50.96274 
  Model cost at call  466 :  50.96274 
  Model cost at call  473 :  50.96274 
  Model cost at call  481 :  50.96274 
  Model cost at call  488 :  50.96274 
  Model cost at call  496 :  50.96274 
  Model cost at call  523 :  50.96274 
  Model cost at call  524 :  50.96274 
  Model cost at call  525 :  50.96274 
  Model cost at call  527 :  50.96274 
  Model cost at call  529 :  50.96274 
  Model cost at call  532 :  50.96274 
  Model cost at call  533 :  50.96274 
  Model cost at call  534 :  50.96274 
  Model cost at call  536 :  50.96274 
  Model cost at call  541 :  50.96274 
  Model cost at call  546 :  50.96274 
  Model cost at call  547 :  50.96274 
  Optimisation by method Port successfully terminated.
  1. Failure: Fitting with large parameter correlation gives warnings (@test_FOMC_ill-defined.R#34) 
  `warnings` does not match "Optimisation by method Port did not converge".
  Actual value: "Calculation of the Jacobian failed for the cost function of the untransformed model.\nNo t-test results will be available"
  
  
  Model cost at call  1 :  2154.97 
  Model cost at call  3 :  2154.97 
  Model cost at call  5 :  2154.97 
  Model cost at call  6 :  716.4083 
  Model cost at call  8 :  716.4082 
  Model cost at call  11 :  136.1354 
  Model cost at call  12 :  136.1354 
  Model cost at call  15 :  64.35183 
  Model cost at call  16 :  64.35183 
  Model cost at call  20 :  61.48715 
  Model cost at call  22 :  61.48715 
  Model cost at call  24 :  59.59792 
  Model cost at call  26 :  59.59792 
  Model cost at call  28 :  57.47603 
  Model cost at call  30 :  57.47603 
  Model cost at call  32 :  57.10469 
  Model cost at call  34 :  57.10468 
  Model cost at call  36 :  54.78942 
  Model cost at call  38 :  54.78942 
  Model cost at call  40 :  54.29399 
  Model cost at call  42 :  54.29399 
  Model cost at call  44 :  53.55295 
  Model cost at call  46 :  53.55294 
  Model cost at call  49 :  53.10239 
  Model cost at call  51 :  53.10239 
  Model cost at call  53 :  52.95095 
  Model cost at call  55 :  52.95095 
  Model cost at call  57 :  52.41198 
  Model cost at call  59 :  52.41198 
  Model cost at call  61 :  52.24816 
  Model cost at call  63 :  52.24816 
  Model cost at call  65 :  51.99669 
  Model cost at call  67 :  51.99669 
  Model cost at call  69 :  51.82092 
  Model cost at call  71 :  51.82092 
  Model cost at call  74 :  51.69389 
  Model cost at call  76 :  51.69389 
  Model cost at call  78 :  51.64468 
  Model cost at call  80 :  51.64468 
  Model cost at call  82 :  51.46367 
  Model cost at call  84 :  51.46366 
  Model cost at call  86 :  51.407 
  Model cost at call  88 :  51.407 
  Model cost at call  90 :  51.30871 
  Model cost at call  92 :  51.30871 
  Model cost at call  94 :  51.23556 
  Model cost at call  96 :  51.23556 
  Model cost at call  98 :  51.17829 
  Model cost at call  100 :  51.17829 
  Model cost at call  103 :  51.13498 
  Model cost at call  105 :  51.13498 
  Model cost at call  107 :  51.11419 
  Model cost at call  109 :  51.11419 
  Model cost at call  111 :  51.05405 
  Model cost at call  113 :  51.05405 
  Model cost at call  115 :  51.0096 
  Model cost at call  117 :  51.0096 
  Model cost at call  119 :  50.97496 
  Model cost at call  121 :  50.97496 
  Model cost at call  125 :  50.96419 
  Model cost at call  126 :  50.96419 
  Model cost at call  129 :  50.96365 
  Model cost at call  131 :  50.96365 
  Model cost at call  134 :  50.96354 
  Model cost at call  136 :  50.96354 
  Model cost at call  138 :  50.96333 
  Model cost at call  140 :  50.96333 
  Model cost at call  142 :  50.9629 
  Model cost at call  144 :  50.9629 
  Model cost at call  147 :  50.96282 
  Model cost at call  149 :  50.96282 
  Model cost at call  152 :  50.9628 
  Model cost at call  156 :  50.96277 
  Model cost at call  161 :  50.96276 
  Model cost at call  165 :  50.96275 
  Model cost at call  170 :  50.96274 
  Model cost at call  175 :  50.96274 
  Optimisation by method Marq successfully terminated.
  testthat results ================================================================
  OK: 44 SKIPPED: 0 FAILED: 1
  1. Failure: Fitting with large parameter correlation gives warnings (@test_FOMC_ill-defined.R#34) 
  
  Error: testthat unit tests failed
  Execution halted