Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("deductive")
  Loading required package: deductive
  1. Error: correct_typos works (@test_correct_typos.R#23) -----------------------
  invalid subscript type 'list'
  1: correct_typos(dat, v) at testthat/test_correct_typos.R:23
  2: correct_typos(dat, v)
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  2. Error: correct_typos reorder works (@test_correct_typos.R#41) ---------------
  invalid subscript type 'list'
  1: correct_typos(dat2, v2) at testthat/test_correct_typos.R:41
  2: correct_typos(dat2, v2)
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  3. Error: correct_typos fixation works (@test_correct_typos.R#47) --------------
  invalid subscript type 'list'
  1: correct_typos(dat2, v2, fixate = "x2") at testthat/test_correct_typos.R:47
  2: correct_typos(dat2, v2, fixate = "x2")
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  4. Error: correct_typos with inequality contraint record fails (@test_correct_typos.R#63) 
  invalid subscript type 'list'
  1: correct_typos(dat, v) at testthat/test_correct_typos.R:63
  2: correct_typos(dat, v)
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  5. Error: correct_typos with noncorrectable record works (@test_correct_typos.R#76) 
  invalid subscript type 'list'
  1: correct_typos(dat, v) at testthat/test_correct_typos.R:76
  2: correct_typos(dat, v)
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  6. Error: correct_typos with noncorrectable record works (@test_correct_typos.R#88) 
  invalid subscript type 'list'
  1: correct_typos(dat, v) at testthat/test_correct_typos.R:88
  2: correct_typos(dat, v)
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  7. Error: correct_typos with missing variable works (@test_correct_typos.R#107) 
  invalid subscript type 'list'
  1: correct_typos(dat, v) at testthat/test_correct_typos.R:107
  2: correct_typos(dat, v)
  3: .local(dat, x, ...)
  4: x$linear_coefficients()
  5: get_linear_coefficients(.self, ...)
  
  8. Error: correct_typos does not violate extra rules (@test_correct_typos.R#117) 
  invalid subscript type 'list'
  1: expect_equal(correct_typos(dat, v), dat) at testthat/test_correct_typos.R:117
  2: compare(object, expected, ...)
  3: correct_typos(dat, v)
  4: correct_typos(dat, v)
  5: .local(dat, x, ...)
  6: x$linear_coefficients()
  7: get_linear_coefficients(.self, ...)
  
  9. Error: imputation by pseudoinverse (@test_linimpute.R#41) -------------------
  invalid subscript type 'list'
  1: v$linear_coefficients() at testthat/test_linimpute.R:41
  2: get_linear_coefficients(.self, ...)
  
  10. Error: imputation with zeros (@test_linimpute.R#85) ------------------------
  invalid subscript type 'list'
  1: v$linear_coefficients() at testthat/test_linimpute.R:85
  2: get_linear_coefficients(.self, ...)
  
  11. Error: imputation of zeros (@test_linimpute.R#107) -------------------------
  invalid subscript type 'list'
  1: v$linear_coefficients() at testthat/test_linimpute.R:107
  2: get_linear_coefficients(.self, ...)
  
  12. Error: imputation of implied values (@test_linimpute.R#119) ----------------
  invalid subscript type 'list'
  1: v$linear_coefficients() at testthat/test_linimpute.R:119
  2: get_linear_coefficients(.self, ...)
  
  13. Failure: impute_lr errors when it should (@test_linimpute.R#138) -----------
  error$message does not match "Linear restrictions on nonnumeric data".
  Actual value: "invalid subscript type 'list'"
  
  
  14. Error: impute_lr (@test_linimpute.R#154) -----------------------------------
  invalid subscript type 'list'
  1: expect_equal(impute_lr(dat, v), data.frame(x1 = 100, x2 = 60, x3 = 160, x4 = 15, 
         x5 = NA_real_, x6 = NA_real_, x7 = 25, x8 = 35, x9 = 155, x10 = 5)) at testthat/test_linimpute.R:154
  2: compare(object, expected, ...)
  3: impute_lr(dat, v)
  4: impute_lr(dat, v)
  5: x$linear_coefficients()
  6: get_linear_coefficients(.self, ...)
  
  testthat results ================================================================
  OK: 12 SKIPPED: 0 FAILED: 14
  1. Error: correct_typos works (@test_correct_typos.R#23) 
  2. Error: correct_typos reorder works (@test_correct_typos.R#41) 
  3. Error: correct_typos fixation works (@test_correct_typos.R#47) 
  4. Error: correct_typos with inequality contraint record fails (@test_correct_typos.R#63) 
  5. Error: correct_typos with noncorrectable record works (@test_correct_typos.R#76) 
  6. Error: correct_typos with noncorrectable record works (@test_correct_typos.R#88) 
  7. Error: correct_typos with missing variable works (@test_correct_typos.R#107) 
  8. Error: correct_typos does not violate extra rules (@test_correct_typos.R#117) 
  9. Error: imputation by pseudoinverse (@test_linimpute.R#41) 
  1. ...
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In ini_validator(.self, ..., .file = .file, .data = .data) :
    Invalid syntax detected, the following expressions have been ignored:
  [001] x1 + x2 == x3
  [002] x2 == x4
  [003] x5 + x6 + x7 == x8
  [004] x3 + x8 == x9
  [005] x9 - x10 == x11
  2: In ini_validator(.self, ..., .file = .file, .data = .data) :
    Invalid syntax detected, the following expressions have been ignored:
  [001] x1 + x2 == x3
  Execution halted