Running ‘testthat.R’ [12s/437s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(codemetar)
  > 
  > test_check("codemetar")
  ── 1. Error: We can use a preset id (@test-codemeta_description.R#5)  ──────────
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: codemeta_description(f, id = "https://doi.org/10.looks.like/doi") at testthat/test-codemeta_description.R:5
  2: parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
  3: get_sys_links(pkg, description = sys_reqs)
  4: jsonlite::fromJSON(sprintf("https://sysreqs.r-hub.io/pkg/%s", pkg), simplifyVector = FALSE)
  5: fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  6: parseJSON(txt, bigint_as_char)
  7: parse_con(txt, bigint_as_char)
  8: open(con, "rb")
  9: open.connection(con, "rb")
  
  ── 2. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: codemeta_description(f) at testthat/test-codemeta_description.R:26
  2: parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
  3: get_sys_links(pkg, description = sys_reqs)
  4: jsonlite::fromJSON(sprintf("https://sysreqs.r-hub.io/pkg/%s", pkg), simplifyVector = FALSE)
  5: fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  6: parseJSON(txt, bigint_as_char)
  7: parse_con(txt, bigint_as_char)
  8: open(con, "rb")
  9: open.connection(con, "rb")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 72 SKIPPED: 9 FAILED: 2
  1. Error: We can use a preset id (@test-codemeta_description.R#5) 
  2. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_description.R#26) 
  
  Error: testthat unit tests failed
  Execution halted