Running ‘testthat.R’ [16s/16s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(tarchives)
  > 
  > test_check("tarchives")
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → restricting metadata records
  → querying 0 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → restricting metadata records
  → querying 0 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → restricting metadata records
  → querying 0 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  → reading /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → reading /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → restricting metadata records
  → querying 1 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  → reading /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-pl…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-pl…
  → restricting metadata records
  → querying 0 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  → reading /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → restricting metadata records
  → querying 2 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  → reading /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → noting builders and branches
  → parsing /tmp/check-CRAN-regular-hornik/cache/R/tarchives/tarchives/example-mo…
  → restricting metadata records
  → querying 2 local files in /tmp/check-CRAN-regular-hornik/cache/R/tarchives/ta…
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-tar_archive.R:35:3'): tar_archive() works ──────────────────────
  <tar_condition_run/tar_condition_targets/rlang_error/rlang_error/error/condition>
  Error: Error in tar_make():
    cannot open file 'Rplots.pdf'
    See https://books.ropensci.org/targets/debugging.html
  Backtrace:
       ▆
    1. └─tarchives::tar_make_archive(...) at test-tar_archive.R:35:3
    2.   ├─tarchives:::with_dir_archive(...)
    3.   │ └─withr::with_dir(...)
    4.   │   └─base::force(code)
    5.   └─targets::tar_make(...)
    6.     └─targets:::callr_outer(...)
    7.       ├─targets:::if_any(...)
    8.       └─targets:::callr_error(traced_condition = out, fun = fun)
    9.         └─targets::tar_throw_run(message, class = class(traced_condition$condition))
   10.           └─targets::tar_error(...)
   11.             └─rlang::abort(message = message, class = class, call = tar_envir_base)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
  Error: Test failures
  Execution halted