Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # --------------------------------------------------- #
  > # Author: Marius D. Pascariu
  > # License: MIT
  > # Last update: Wed Jun 05 14:41:16 2019
  > # --------------------------------------------------- #
  > 
  > library(testthat)
  > # expect_message(library(MortalityLaws))
  > 
  > test_check("MortalityLaws")
  Loading required package: MortalityLaws
  [1] 1
  [1] 2
  [1] 3
  [1] 4
  [1] 5
  [1] 6
  [1] 7
  [1] 8
  [1] 9
  [1] 10
  [1] 11
  [1] 12
  [1] 13
  [1] 14
  [1] 15
  [1] 16
  M1: gompertz
  -- 1. Error: (unknown) (@test_MortalityLaws.R#30)  -----------------------------
  More observations needed in order to start the fitting. Increase the length of 'fit.this.x'
  Backtrace:
   1. base::assign(...)
   2. MortalityLaws::MortalityLaw(...)
   3. MortalityLaws:::check.MortalityLaw(input)
   5. base::with.default(...)
   6. [ base::eval(...) ] with 1 more call
  
        :Downloading AUS           :Downloading Japan           :Downloading Japan           :Downloading Kyoto     1  Create mx_from_mx 
  2  Create mx_from_qx 
  3  Create mx_from_dx 
  4  Create mx_from_lx 
  5  Create qx_from_mx 
  6  Create qx_from_qx 
  7  Create qx_from_dx 
  8  Create qx_from_lx 
  9  Create dx_from_mx 
  10  Create dx_from_qx 
  11  Create dx_from_dx 
  12  Create dx_from_lx 
  13  Create lx_from_mx 
  14  Create lx_from_qx 
  15  Create lx_from_dx 
  16  Create lx_from_lx 
  17  Create Lx_from_mx 
  18  Create Lx_from_qx 
  19  Create Lx_from_dx 
  20  Create Lx_from_lx 
  21  Create Tx_from_mx 
  22  Create Tx_from_qx 
  23  Create Tx_from_dx 
  24  Create Tx_from_lx 
  25  Create ex_from_mx 
  26  Create ex_from_qx 
  27  Create ex_from_dx 
  28  Create ex_from_lx 
  == testthat results  ===========================================================
  [ OK: 410 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 1 ]
  1. Error: (unknown) (@test_MortalityLaws.R#30) 
  
  Error: testthat unit tests failed
  Execution halted