Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(retroharmonize)
  > 
  > test_check("retroharmonize")
  Saving _problems/test-codebook_create-12.R
   dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
   @ labels   : Named num [1:4] 1 0 8 9
    ..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
   @ na_values: num [1:2] 8 9
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'vctrs'
  
  The following object is masked from 'package:dplyr':
  
      data_frame
  
  
  Attaching package: 'rlang'
  
  The following object is masked from 'package:retroharmonize':
  
      as_character
  
  Survey ID: test
  Survey ID: test2
  Survey ID: test2
  Survey ID: test2
  Survey ID: test
  [ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-harmonize_na_values.R:18:3',
    'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
  <vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
  Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
  Backtrace:
       ▆
    1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
    2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
    3. ├─dplyr::arrange(., .data$entry)
    4. ├─dplyr::bind_rows(., char_labels)
    5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
    6. └─vctrs (local) `<fn>`()
    7.   └─vctrs::vec_default_ptype2(...)
    8.     ├─base::withRestarts(...)
    9.     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   10.     │   └─base (local) doWithOneRestart(return(expr), restart)
   11.     └─vctrs::stop_incompatible_type(...)
   12.       └─vctrs:::stop_incompatible(...)
   13.         └─vctrs:::stop_vctrs(...)
   14.           └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
  
  [ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
  Error:
  ! Test failures.
  Execution halted