Running ‘testthat.R’ [94s/97s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xpose)
  Loading required package: ggplot2
  
  Attaching package: 'xpose'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("xpose")
  ── 1. Failure: returns a tibble when user mode is used (@test-read_nm_tables.R#6
  `test_tab` not equal to `ctrl_tab`.
  Rows in x but not y: 406, 395, 372, 242, 309, 30. Rows in y but not x: 406, 395, 309, 242, 30, 372. 
  
  ── 2. Failure: tables with firstonly are properly handled (@test-read_nm_tables.
  tmp_table$data[[1]] not equal to ...[].
  Rows in x but not y: 406, 395, 372, 309, 242, 30. Rows in y but not x: 395, 372, 309, 242, 30, 406. 
  
  ── 3. Failure: vpc_data works properly with psn_folder (@test-vpc.R#50)  ───────
  `parsed_psn_vpc` not equal to `ctrl_psn_vpc_dat`.
  Component "obs_data": Rows in x but not y: 545, 85. Rows in y but not x: 85, 545. 
  Component "sim_data": Rows in x but not y: 21166, 21073, 19907, 18964, 15348, 15243, 15172, 14408, 3665, 12146, 5915[...]. Rows in y but not x: 22239, 21166, 21073, 18964, 17575, 16409, 15172, 14408, 14077, 11349, 10581[...]. 
  
  ── 4. Error: properly creates the xpdb when using the file argument (@test-xpose
  Can't join on 'index' x 'index' because of incompatible types (list / list)
  1: expect_identical(xpdb_1, xpdb_ex_pk) at testthat/test-xpose_data.R:39
  2: compare(act$val, exp$val)
  3: compare.default(act$val, exp$val)
  4: all.equal(x, y, ...)
  5: all.equal.default(x, y, ...)
  6: all.equal.list(target, current, ...)
  7: all.equal(target[[i]], current[[i]], check.attributes = check.attributes, use.names = use.names, 
         ...)
  8: all.equal.tbl_df(target[[i]], current[[i]], check.attributes = check.attributes, 
         use.names = use.names, ...)
  9: equal_data_frame(target, current, ignore_col_order = ignore_col_order, ignore_row_order = ignore_row_order, 
         convert = convert)
  
  ── 5. Error: properly creates the xpdb when using the runno argument (@test-xpos
  Can't join on 'index' x 'index' because of incompatible types (list / list)
  1: expect_identical(xpdb_2, xpdb_ex_pk) at testthat/test-xpose_data.R:52
  2: compare(act$val, exp$val)
  3: compare.default(act$val, exp$val)
  4: all.equal(x, y, ...)
  5: all.equal.default(x, y, ...)
  6: all.equal.list(target, current, ...)
  7: all.equal(target[[i]], current[[i]], check.attributes = check.attributes, use.names = use.names, 
         ...)
  8: all.equal.tbl_df(target[[i]], current[[i]], check.attributes = check.attributes, 
         use.names = use.names, ...)
  9: equal_data_frame(target, current, ignore_col_order = ignore_col_order, ignore_row_order = ignore_row_order, 
         convert = convert)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 524 SKIPPED: 0 FAILED: 5
  1. Failure: returns a tibble when user mode is used (@test-read_nm_tables.R#61) 
  2. Failure: tables with firstonly are properly handled (@test-read_nm_tables.R#66) 
  3. Failure: vpc_data works properly with psn_folder (@test-vpc.R#50) 
  4. Error: properly creates the xpdb when using the file argument (@test-xpose_data.R#39) 
  5. Error: properly creates the xpdb when using the runno argument (@test-xpose_data.R#52) 
  
  Error: testthat unit tests failed
  Execution halted