Running ‘testthat.R’ [10s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(getTBinR)
  > 
  > test_check("getTBinR")
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  9251    0  9251    0     0   8716      0 --:--:--  0:00:01 --:--:--  8710
  100  272k    0  272k    0     0   185k      0 --:--:--  0:00:01 --:--:--  185k
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  100 10459    0 10459    0     0   8828      0 --:--:--  0:00:01 --:--:--  8826
  ── 1. Failure: Data dictionary has the expected number of entries (@test-get_dat
  `exp_nrows` not equal to `nrows_dict`.
  1/1 mismatches
  [1] 396 - 402 == -6
  
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  100   498    0   498    0     0    279      0 --:--:--  0:00:01 --:--:--   279
  100  272k    0  272k    0     0   121k      0 --:--:--  0:00:02 --:--:--  121k
  ── 2. Failure: Definition search for an unknown variable returns expected result
  6 not equal to nrow(test_def).
  1/1 mismatches
  [1] 6 - 9 == -3
  
  ── 3. Failure: Definition search for an unknown variable returns expected result
  `exp_def` not equal to test_def$variable_name.
  Lengths differ: 6 is not 9
  
  ── 4. Failure: Combined variable and definition search returns expected results 
  6 not equal to nrow(test_var_def).
  1/1 mismatches
  [1] 6 - 9 == -3
  
  ── 5. Failure: Combined variable and definition search returns expected results 
  `exp_def` not equal to test_var_def$variable_name.
  Lengths differ: 6 is not 9
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 73 SKIPPED: 0 FAILED: 5
  1. Failure: Data dictionary has the expected number of entries (@test-get_data_dict.R#27) 
  2. Failure: Definition search for an unknown variable returns expected results (@test-search_data_dict.R#31) 
  3. Failure: Definition search for an unknown variable returns expected results (@test-search_data_dict.R#33) 
  4. Failure: Combined variable and definition search returns expected results (@test-search_data_dict.R#39) 
  5. Failure: Combined variable and definition search returns expected results (@test-search_data_dict.R#41) 
  
  Error: testthat unit tests failed
  Execution halted