Running ‘testthat.R’ [6s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(GIFT)
  > 
  > test_check("GIFT")
  You are asking for the latest stable version of GIFT which is 3.2.
  You are asking for the latest stable version of GIFT which is 3.2.
  Saving _problems/test-GIFT_env-44.R
  You are asking for the beta-version of GIFT which is subject to
  updates and edits. Consider using 'latest' for the latest stable
  version.
  You are asking for the beta-version of GIFT which is subject to
  updates and edits. Consider using 'latest' for the latest stable
  version.
  You are asking for the beta-version of GIFT which is subject to
  updates and edits. Consider using 'latest' for the latest stable
  version.
  You are asking for the beta-version of GIFT which is subject to
  updates and edits. Consider using 'latest' for the latest stable
  version.
  You are asking for the latest stable version of GIFT which is 3.2.
  You are asking for the latest stable version of GIFT which is 3.2.
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-GIFT_env.R:40:3'): invalid inputs ──────────────────────────────
  <dplyr_error_join_incompatible_type/dplyr_error_join/dplyr_error/rlang_error/error/condition>
  Error in `dplyr::left_join(tmp, refs, by = c(citavi_ID = "citavi_seq_no"))`: Can't join `x$citavi_ID` with `y$citavi_seq_no` due to incompatible types.
  i `x$citavi_ID` is a <character>.
  i `y$citavi_seq_no` is a <integer>.
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-GIFT_env.R:40:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─GIFT::GIFT_env(miscellaneous = "XX")
    8. │ ├─base::suppressMessages(GIFT_env_meta_misc(api = api, GIFT_version = GIFT_version))
    9. │ │ └─base::withCallingHandlers(...)
   10. │ └─GIFT::GIFT_env_meta_misc(api = api, GIFT_version = GIFT_version)
   11. │   ├─dplyr::left_join(tmp, refs, by = c(citavi_ID = "citavi_seq_no"))
   12. │   └─dplyr:::left_join.data.frame(tmp, refs, by = c(citavi_ID = "citavi_seq_no"))
   13. │     └─dplyr:::join_mutate(...)
   14. │       └─dplyr:::join_cast_common(x_key, y_key, vars, error_call = error_call)
   15. │         └─dplyr:::join_ptype_common(x, y, vars, error_call = error_call)
   16. │           ├─rlang::try_fetch(...)
   17. │           │ └─base::withCallingHandlers(...)
   18. │           └─vctrs::vec_ptype2(x, y, x_arg = "", y_arg = "", call = error_call)
   19. ├─vctrs (local) `<fn>`() at vctrs/R/type2.R:50:3
   20. │ └─vctrs::vec_default_ptype2(...)
   21. │   ├─base::withRestarts(...) at vctrs/R/type2.R:178:3
   22. │   │ └─base (local) withOneRestart(expr, restarts[[1L]])
   23. │   │   └─base (local) doWithOneRestart(return(expr), restart)
   24. │   └─vctrs::stop_incompatible_type(...) at vctrs/R/type2.R:178:3
   25. │     └─vctrs:::stop_incompatible(...) at vctrs/R/conditions.R:146:3
   26. │       └─vctrs:::stop_vctrs(...) at vctrs/R/conditions.R:95:3
   27. │         └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) at vctrs/R/conditions.R:65:3
   28. │           └─rlang:::signal_abort(cnd, .file)
   29. │             └─base::signalCondition(cnd)
   30. └─rlang (local) `<fn>`(`<vctrs__2>`)
   31.   └─handlers[[1L]](cnd)
   32.     └─dplyr:::rethrow_error_join_incompatible_type(cnd, vars, error_call)
   33.       └─dplyr:::stop_join(...)
   34.         └─dplyr:::stop_dplyr(...)
   35.           └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 111 ]
  Error:
  ! Test failures.
  Execution halted