Running ‘testthat.R’ [71s/154s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eatGADS)
  > 
  > test_check("eatGADS")
  Saving _problems/test_compareGADS-55.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1613 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_compareGADS.R:55:3'): recodes in NA ────────────────────────────
  Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
  Backtrace:
      ▆
   1. ├─eatGADS::compareGADS(df1_b, df1_c, varNames = namesGADS(df1)) at test_compareGADS.R:55:3
   2. └─eatGADS:::compareGADS.GADSdat(df1_b, df1_c, varNames = namesGADS(df1))
   3.   ├─base::as.data.frame(table(old_unequals, useNA = "ifany"))
   4.   └─base::as.data.frame.table(table(old_unequals, useNA = "ifany"))
   5.     ├─base::eval(ex)
   6.     │ └─base::eval(ex)
   7.     └─base::data.frame(...)
   8.       ├─base::as.data.frame(x[[i]], optional = TRUE)
   9.       └─base::as.data.frame.integer(x[[i]], optional = TRUE)
  ── Error ('test_compareGADS.R:81:3'): recodes in NA with labeled NAs ───────────
  Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(out3 <- compareGADS(dfSAV2, dfSAV3, varNames = namesGADS(dfSAV3))) at test_compareGADS.R:81:3
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─eatGADS::compareGADS(dfSAV2, dfSAV3, varNames = namesGADS(dfSAV3))
   10. └─eatGADS:::compareGADS.GADSdat(dfSAV2, dfSAV3, varNames = namesGADS(dfSAV3))
   11.   ├─base::as.data.frame(table(old_unequals, useNA = "ifany"))
   12.   └─base::as.data.frame.table(table(old_unequals, useNA = "ifany"))
   13.     ├─base::eval(ex)
   14.     │ └─base::eval(ex)
   15.     └─base::data.frame(...)
   16.       ├─base::as.data.frame(x[[i]], optional = TRUE)
   17.       └─base::as.data.frame.integer(x[[i]], optional = TRUE)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1613 ]
  Error:
  ! Test failures.
  Execution halted
  File /tmp/RtmpJ9FEe2/working_dir/RtmpJ1y5C4/helper_dataBase.db was removed.