Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(piggyback)
  > Sys.setenv(piggyback_cache_duration=0)
  > test_check("piggyback")
  ── Skip (test-errors.R:31:5): Attempt overwrite on upload when overwrite is FALS
  Reason: On CRAN
  
  ── Skip (test-errors.R:52:5): Attempt upload non-existent file ─────────────────
  Reason: On CRAN
  
  ── Skip (test-errors.R:71:5): Attempt download non-existent file ───────────────
  Reason: On CRAN
  
  ── Skip (test-errors.R:89:5): Attempt upload to non-existent tag ───────────────
  Reason: On CRAN
  
  ── Skip (test-errors.R:120:5): Attempt overwrite on download when overwrite is F
  Reason: On CRAN
  
  ── Skip (test-errors.R:151:5): Attempt to delete non-existent file ─────────────
  Reason: On CRAN
  
  ── Skip (test-errors.R:168:5): message when tag already exists ─────────────────
  Reason: On CRAN
  
  ── Skip (test-errors.R:184:3): download url error ──────────────────────────────
  Reason: On CRAN
  
  ── Warning (test-on-cran.R:7:5): we can list files even from CRAN ──────────────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── ERROR (test-on-cran.R:7:5): we can list files even from CRAN ────────────────
  Error: Cannot access release data for repository cboettig/piggyback-tests. Check that you have set a GITHUB_TOKEN and that at least one release on your GitHub repository page.
  Backtrace:
       █
    1. └─piggyback::pb_list(repo = "cboettig/piggyback-tests", tag = "v0.0.1") test-on-cran.R:7:4
    2.   └─piggyback:::pb_info(repo, tag, .token)
    3.     └─piggyback:::memoised_pb_info(repo, tag, .token)
    4.       ├─base::withVisible(`_f`(repo = repo, tag = tag, .token = .token))
    5.       └─piggyback:::`_f`(repo = repo, tag = tag, .token = .token)
    6.         └─piggyback:::release_info(repo, .token)
    7.           └─piggyback:::maybe(...)
    8.             └─base::tryCatch(...)
    9.               └─base:::tryCatchList(expr, classes, parentenv, handlers)
   10.                 └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.                   └─value[[3L]](cond)
  
  ── Warning (test-timestamps.R:8:5): upload obeys timestamp only when newer ─────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Warning (test-timestamps.R:9:5): upload obeys timestamp only when newer ─────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Skip (test-timestamps.R:9:5): upload obeys timestamp only when newer ────────
  Reason: piggyback:::get_token() == "b2b7441daeeb010b1df26f1f60a7f1edc485e443"  is TRUE
  
  ── Warning (test-with-auth.R:9:3): We can upload data ──────────────────────────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Skip (test-with-auth.R:9:3): We can upload data ─────────────────────────────
  Reason: piggyback:::get_token() == "b2b7441daeeb010b1df26f1f60a7f1edc485e443"  is TRUE
  
  ── Warning (test-with-auth.R:29:3): working from git repo ──────────────────────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Skip (test-with-auth.R:29:3): working from git repo ─────────────────────────
  Reason: piggyback:::get_token() == "b2b7441daeeb010b1df26f1f60a7f1edc485e443"  is TRUE
  
  ── Warning (test-with-auth.R:90:3): we can get a download url ──────────────────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Skip (test-with-auth.R:90:3): we can get a download url ─────────────────────
  Reason: piggyback:::get_token() == "b2b7441daeeb010b1df26f1f60a7f1edc485e443"  is TRUE
  
  ── Skip (test-with-auth.R:103:5): we error when creating a release on non-exista
  Reason: On CRAN
  
  ── Warning (test-with-auth.R:119:5): test delete ───────────────────────────────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Warning (test-with-auth.R:120:5): test delete ───────────────────────────────
  Using default public GITHUB_TOKEN.
                       Please set your own token
  
  ── Skip (test-with-auth.R:120:5): test delete ──────────────────────────────────
  Reason: piggyback:::get_token() == "b2b7441daeeb010b1df26f1f60a7f1edc485e443"  is TRUE
  
  ── Skip (test-without-auth.R:12:5): we can download all files from the a specifi
  Reason: On CRAN
  
  ── Skip (test-without-auth.R:39:5): we can list files ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test-without-auth.R:53:5): we can list multiple ignore files, including
  Reason: On CRAN
  
  ── Skip (test-without-auth.R:69:5): we can download a requested file from the re
  Reason: On CRAN
  
  ── Skip (test-without-auth.R:90:5): we can download a requested file to requeste
  Reason: On CRAN
  
  ── Skip (test-without-auth.R:114:3): we can track data ─────────────────────────
  Reason: On CRAN
  
  ── Skip (test-without-auth.R:134:3): we can get all download urls ──────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (16)
  ● piggyback:::get_token() == "b2b7441daeeb010b1df26f1f60a7f1edc485e443"  is TRUE (5)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  Warning (test-on-cran.R:7:5): we can list files even from CRAN
  ERROR (test-on-cran.R:7:5): we can list files even from CRAN
  Warning (test-timestamps.R:8:5): upload obeys timestamp only when newer
  Warning (test-timestamps.R:9:5): upload obeys timestamp only when newer
  Warning (test-with-auth.R:9:3): We can upload data
  Warning (test-with-auth.R:29:3): working from git repo
  Warning (test-with-auth.R:90:3): we can get a download url
  Warning (test-with-auth.R:119:5): test delete
  Warning (test-with-auth.R:120:5): test delete
  
  [ FAIL 1 | WARN 8 | SKIP 21 | PASS 3 ]
  Error: Test failures
  Execution halted