Running ‘testthat.R’ [6s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(codemetar)
  > 
  > test_check("codemetar")
  ── 1. Error: We can read an existing codemeta.json file (@test-write_codemeta.R#
  GitHub API error (403): 403 Forbidden
    API rate limit exceeded for 163.1.211.17. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
  1: write_codemeta("codemetar") at testthat/test-write_codemeta.R:31
  2: create_codemeta(pkg = pkg, root = root)
  3: add_github_topics(cm)
  4: gh::gh("GET /repos/:owner/:repo/topics", repo = repo, owner = owner, .send_headers = c(Accept = "application/vnd.github.mercy-preview+json"))
  5: gh_process_response(raw)
  
  ── 2. Error: We can use either a path or pkg name in writing (@test-write_codeme
  GitHub API error (403): 403 Forbidden
    API rate limit exceeded for 163.1.211.17. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
  1: write_codemeta(path.package("codemetar")) at testthat/test-write_codemeta.R:38
  2: create_codemeta(pkg = pkg, root = root)
  3: add_github_topics(cm)
  4: gh::gh("GET /repos/:owner/:repo/topics", repo = repo, owner = owner, .send_headers = c(Accept = "application/vnd.github.mercy-preview+json"))
  5: gh_process_response(raw)
  
  ── 3. Error: we can write codemeta given a codemeta object (@test-write_codemeta
  GitHub API error (403): 403 Forbidden
    API rate limit exceeded for 163.1.211.17. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
  1: expect_is(create_codemeta("codemetar", codemeta), "list") at testthat/test-write_codemeta.R:60
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: create_codemeta("codemetar", codemeta)
  5: add_github_topics(cm)
  6: gh::gh("GET /repos/:owner/:repo/topics", repo = repo, owner = owner, .send_headers = c(Accept = "application/vnd.github.mercy-preview+json"))
  7: gh_process_response(raw)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 77 SKIPPED: 10 FAILED: 3
  1. Error: We can read an existing codemeta.json file (@test-write_codemeta.R#31) 
  2. Error: We can use either a path or pkg name in writing (@test-write_codemeta.R#38) 
  3. Error: we can write codemeta given a codemeta object (@test-write_codemeta.R#60) 
  
  Error: testthat unit tests failed
  Execution halted