Running 'testthat.R' [59s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(xportr)
  > 
  > test_check("xportr")
  
  
  
  
  
  
  
  
  -- Domain not found in metadata. --
  
  Domain 'df2' not found in metadata 'dataset' column.
  
  
  -- Variable type mismatches found. --
  
  v 2 variables coerced
  
  -- Variable type mismatches found. --
  
  v 2 variables coerced
  -- Variable lengths missing from metadata. --
  
  v 30 lengths resolved `RFXSTDTC`, `RFXENDTC`, `RFICDTC`, `RFPENDTC`, `DTHDTC`, `ARMCD`, `ACTARMCD`, `ACTARM`, `COUNTRY`, `DMDTC`, `DMDY`, `TRTSDTM`, `TRTSTMF`, `TRTEDTM`, `TRTETMF`, `SCRFDT`, `EOSDT`, `FRVDT`, `RANDDT`, `DTHDT`, `DTHDTF`, `DTHADY`, `LDDTHELD`, `LSTALVDT`, `RACEGR1`, `REGION1`, `LDDTHGR1`, `DTH30FL`, `DTHA30FL`, and `DTHB30FL`
  
  -- Variable labels missing from metadata. --
  
  v 30 labels skipped
  
  -- 30 variables not in spec and moved to end --
  
  -- 42 reordered in dataset --
  
  -- Variable lengths missing from metadata. --
  
  v 30 lengths resolved `RFXSTDTC`, `RFXENDTC`, `RFICDTC`, `RFPENDTC`, `DTHDTC`, `ARMCD`, `ACTARMCD`, `ACTARM`, `COUNTRY`, `DMDTC`, `DMDY`, `TRTSDTM`, `TRTSTMF`, `TRTEDTM`, `TRTETMF`, `SCRFDT`, `EOSDT`, `FRVDT`, `RANDDT`, `DTHDT`, `DTHDTF`, `DTHADY`, `LDDTHELD`, `LSTALVDT`, `RACEGR1`, `REGION1`, `LDDTHGR1`, `DTH30FL`, `DTHA30FL`, and `DTHB30FL`
  
  -- Variable labels missing from metadata. --
  
  v 30 labels skipped
  
  -- 30 variables not in spec and moved to end --
  
  -- 42 reordered in dataset --
  
  -- All variables in dataset are found in `metadata` --
  
  -- All variables in dataset are ordered --
  
  Variable type mismatches found.
  2 variables coerced
  v Metadata successfully imported
  i To use the Metacore object with metatools package, first subset a dataset using `metacore::select_dataset()`
  
  -- Variable type mismatches found. --
  
  v 2 variables coerced
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 274 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • test_large_files is not TRUE (1): 'test-write.R:288:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-length.R:148:3'): length Test 5: Metacore instance can be used ──
  Error in `pull(., label)`: 
  Caused by error:
  ! object 'label' not found
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-length.R:148:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─base::suppressWarnings(...)
    4. │ └─base::withCallingHandlers(...)
    5. ├─metacore::metacore(...)
    6. │ └─MetaCore$new(...)
    7. │   └─metacore (local) initialize(...)
    8. │     └─ds_spec %>% pull(label)
    9. ├─dplyr::pull(., label)
   10. ├─dplyr:::pull.data.frame(., label)
   11. │ └─tidyselect::vars_pull(names(.data), !!enquo(var))
   12. │   ├─tidyselect:::with_chained_errors(...)
   13. │   │ └─base::withCallingHandlers(...)
   14. │   └─rlang::eval_tidy(expr, set_names(seq_along(vars), vars))
   15. └─base::.handleSimpleError(...)
   16.   └─tidyselect (local) h(simpleError(msg, call))
   17.     └─cli::cli_abort(c(i = msg), call = call, parent = cnd)
   18.       └─rlang::abort(...)
  ── Error ('test-order.R:57:3'): order Test 4: Variable are ordered correctly for metacore spec ──
  Error in `pull(., label)`: 
  Caused by error:
  ! object 'label' not found
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-order.R:57:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─base::suppressWarnings(...)
    4. │ └─base::withCallingHandlers(...)
    5. ├─metacore::metacore(...)
    6. │ └─MetaCore$new(...)
    7. │   └─metacore (local) initialize(...)
    8. │     └─ds_spec %>% pull(label)
    9. ├─dplyr::pull(., label)
   10. ├─dplyr:::pull.data.frame(., label)
   11. │ └─tidyselect::vars_pull(names(.data), !!enquo(var))
   12. │   ├─tidyselect:::with_chained_errors(...)
   13. │   │ └─base::withCallingHandlers(...)
   14. │   └─rlang::eval_tidy(expr, set_names(seq_along(vars), vars))
   15. └─base::.handleSimpleError(...)
   16.   └─tidyselect (local) h(simpleError(msg, call))
   17.     └─cli::cli_abort(c(i = msg), call = call, parent = cnd)
   18.       └─rlang::abort(...)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 274 ]
  Error: Test failures
  Execution halted