Running ‘runit.R’ [0s/1s]
  Running ‘testthat.R’ [2s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rasciidoc)
  
  Due to the CRAN policy of not writing "anywhere else on the file system apart from the R session's temporary directory" we work on a temporary copy of the input file.
  Thus all internal sourcing and internal links will be broken and any output is written to /home/hornik/tmp/scratch/Rtmp4jSgE3. Set the option "write_to_disk" to TRUE (using
  	options("write_to_disk" = TRUE)
  ) to bypass this. You may want to include the above line into your ~/.Rprofile.
  > 
  > test_check("rasciidoc")
  Cloning into '/home/hornik/tmp/scratch/Rtmp4jSgE3/asciidoc'...
  error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
  error: 5931 bytes of body are still expected
  fetch-pack: unexpected disconnect while reading sideband packet
  fatal: early EOF
  fatal: fetch-pack: invalid index-pack output
  Cloning into '/home/hornik/tmp/scratch/Rtmp4jSgE3/asciidoc'...
  fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': The requested URL returned error: 502
  Cloning into '/home/hornik/tmp/scratch/Rtmp4jSgE3/asciidoc'...
  fatal: unable to access 'https://github.com/asciidoc-py/asciidoc-py/': The requested URL returned error: 503
  [ FAIL 4 | WARN 2 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-main.R:20:29'): get asciidoc ─────────────────────────────────
  result[["asciidoc_source"]] has type 'NULL', not 'character'.
  ── Error ('test-main.R:23:29'): get asciidoc ───────────────────────────────────
  Error in `file.exists(source_file)`: invalid 'file' argument
  Backtrace:
      ▆
   1. ├─testthat::expect_true(file.exists(source_file)) at test-main.R:23:29
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─base::file.exists(source_file)
  ── Error ('test-main.R:38:13'): run asciidoc ───────────────────────────────────
  <GIT_ENOTFOUND/libgit2_error/error/condition>
  Error in `libgit2::git_repository_open_ext`: could not find repository at '/home/hornik/tmp/scratch/Rtmp4jSgE3/asciidoc'
  Backtrace:
      ▆
   1. ├─withr::with_dir(...) at test-main.R:38:13
   2. │ └─base::force(code)
   3. ├─rasciidoc::rasciidoc(...)
   4. │ └─rasciidoc:::get_asciidoc(tag = git_checkout_asciidoc_tag)
   5. │   └─gert::git_reset_hard(repo = local_asciidoc_path, ref = as.character(the_tag))
   6. │     └─gert:::git_reset("hard", ref = ref, repo = repo)
   7. │       └─gert::git_open(repo)
   8. │         └─gert:::git_repository_open(path, search)
   9. └─gert:::raise_libgit2_error(...)
  ── Error ('test-main.R:85:9'): render ──────────────────────────────────────────
  <GIT_ENOTFOUND/libgit2_error/error/condition>
  Error in `libgit2::git_repository_open_ext`: could not find repository at '/home/hornik/tmp/scratch/Rtmp4jSgE3/asciidoc'
  Backtrace:
       ▆
    1. ├─withr::with_dir(file.path(tempdir(), "files"), status <- render("simple.Rasciidoc")) at test-main.R:85:9
    2. │ └─base::force(code)
    3. ├─rasciidoc::render("simple.Rasciidoc")
    4. │ └─rasciidoc::rasciidoc(...)
    5. │   └─rasciidoc:::get_asciidoc(tag = git_checkout_asciidoc_tag)
    6. │     └─gert::git_reset_hard(repo = local_asciidoc_path, ref = as.character(the_tag))
    7. │       └─gert:::git_reset("hard", ref = ref, repo = repo)
    8. │         └─gert::git_open(repo)
    9. │           └─gert:::git_repository_open(path, search)
   10. └─gert:::raise_libgit2_error(...)
  
  [ FAIL 4 | WARN 2 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted