Running ‘testthat.R’ [8s/107s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(codemetar)
  > 
  > skip_if_offline <- function() skip_if_not(pingr::is_online())
  > test_check("codemetar")
  ── 1. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_
  Timeout was reached: [sysreqs.r-hub.io] Resolving timed out after 10000 milliseconds
  1: codemeta_description(example_file("example.dcf")) at testthat/test-codemeta_description.R:40
  2: add_software_terms(codemeta, descr)
  3: parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
  4: get_sys_links(pkg, description = sys_reqs)
  5: get_url_rhub("get", unique(c(get_rhub_json_names("pkg", pkg), get_rhub_json_names("map", 
         curl::curl_escape(description)))))
  6: sprintf("https://sysreqs.r-hub.io/%s/%s", a, b)
  7: unique(c(get_rhub_json_names("pkg", pkg), get_rhub_json_names("map", curl::curl_escape(description))))
  8: get_rhub_json_names("pkg", pkg)
  9: sapply(X = jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE), FUN = names)
  10: lapply(X = X, FUN = FUN, ...)
  11: jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE)
  12: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  13: parseJSON(txt, bigint_as_char)
  14: parse_con(txt, bigint_as_char)
  15: open(con, "rb")
  16: open.connection(con, "rb")
  
  ── 2. Error: Helper functions work correctly (@test-codemeta_description.R#82)  
  Timeout was reached: [sysreqs.r-hub.io] Resolving timed out after 10000 milliseconds
  1: add_software_terms(codemeta, descr) at testthat/test-codemeta_description.R:82
  2: parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
  3: get_sys_links(pkg, description = sys_reqs)
  4: get_url_rhub("get", unique(c(get_rhub_json_names("pkg", pkg), get_rhub_json_names("map", 
         curl::curl_escape(description)))))
  5: sprintf("https://sysreqs.r-hub.io/%s/%s", a, b)
  6: unique(c(get_rhub_json_names("pkg", pkg), get_rhub_json_names("map", curl::curl_escape(description))))
  7: get_rhub_json_names("map", curl::curl_escape(description))
  8: sapply(X = jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE), FUN = names)
  9: lapply(X = X, FUN = FUN, ...)
  10: jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE)
  11: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  12: parseJSON(txt, bigint_as_char)
  13: parse_con(txt, bigint_as_char)
  14: open(con, "rb")
  15: open.connection(con, "rb")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 85 | SKIPPED: 32 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_description.R#40) 
  2. Error: Helper functions work correctly (@test-codemeta_description.R#82) 
  
  Error: testthat unit tests failed
  Execution halted