Running ‘testthat.R’ [3s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cheatsheet)
  ══ Welcome to {cheatsheet}! ════════════════════════════════════════════════════
  Download handy R cheat sheets to your local machine! Enter <?get_all_cheatsheets> to learn more. 
  Or visit the homepage at https://bradlindblad.github.io/cheatsheet/
  > 
  > test_check("cheatsheet")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-get_all_cheatsheets.R:3:3): get_all_cheatsheets ───────────────
  `get_all_cheatsheets()` threw an error.
  Message: Error in 'git2r_clone': the SSL certificate is invalid
  
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(get_all_cheatsheets(), NA) test-get_all_cheatsheets.R:3:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─cheatsheet::get_all_cheatsheets()
    7.   └─cheatsheet:::clone_cheats_to_cache(TEMP_PATH)
    8.     ├─base::suppressMessages(...)
    9.     │ └─base::withCallingHandlers(...)
   10.     └─git2r::clone(...)
  ── Failure (test-get_all_cheatsheets.R:12:3): get_all_cheatsheets_tidy ─────────
  `get_all_cheatsheets(tidyverse_only = TRUE)` threw an error.
  Message: Error in 'git2r_clone': the SSL certificate is invalid
  
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-get_all_cheatsheets.R:12:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─cheatsheet::get_all_cheatsheets(tidyverse_only = TRUE)
    7.   └─cheatsheet:::clone_cheats_to_cache(TEMP_PATH)
    8.     ├─base::suppressMessages(...)
    9.     │ └─base::withCallingHandlers(...)
   10.     └─git2r::clone(...)
  ── Failure (test-get_translation.R:3:3): get_translation ───────────────────────
  `get_translation(local_path = ".", language = "german")` threw an error.
  Message: Error in 'git2r_clone': the SSL certificate is invalid
  
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test-get_translation.R:3:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─cheatsheet::get_translation(local_path = ".", language = "german")
    7.   └─cheatsheet:::clone_cheats_to_cache(TEMP_PATH)
    8.     ├─base::suppressMessages(...)
    9.     │ └─base::withCallingHandlers(...)
   10.     └─git2r::clone(...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted