Running ‘testthat.R’ [12s/465s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(codemetar)
  > 
  > test_check("codemetar")
  ── 1. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_
  Timeout was reached: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  1: codemeta_description(f) at testthat/test-codemeta_description.R:30
  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 write a codemeta document given a package name (@test-write_
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: write_codemeta("codemetar") at testthat/test-write_codemeta.R:4
  2: create_codemeta(pkg = pkg, root = root)
  3: codemeta_description(file.path(root, "DESCRIPTION"), id = id, cm)
  4: parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
  5: get_sys_links(pkg, description = sys_reqs)
  6: jsonlite::fromJSON(sprintf("https://sysreqs.r-hub.io/map/%s", curl::curl_escape(description)), 
         simplifyVector = FALSE)
  7: fromJSON_string(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  8: parseJSON(txt, bigint_as_char)
  9: parse_con(txt, bigint_as_char)
  10: open(con, "rb")
  11: open.connection(con, "rb")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 73 SKIPPED: 10 FAILED: 2
  1. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_description.R#30) 
  2. Error: we can write a codemeta document given a package name (@test-write_codemeta.R#4) 
  
  Error: testthat unit tests failed
  Execution halted