Running ‘testthat.R’ [12s/149s]
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: no direct link to README (@test-codemeta_description.R#20)  ───────
  Timeout was reached: [sysreqs.r-hub.io] Resolving timed out after 10001 milliseconds
  Backtrace:
    1. codemetar:::codemeta_description(example_file("DESCRIPTION_good_readmeinurl"))
    2. codemetar:::add_software_terms(codemeta, descr)
    3. codemetar:::parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
    4. codemetar:::get_sys_links(pkg, description = sys_reqs)
    8. codemetar:::get_rhub_json_names("map", curl::curl_escape(description))
   11. jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE)
   12. jsonlite:::parse_and_simplify(...)
   13. jsonlite:::parseJSON(txt, bigint_as_char)
   14. jsonlite:::parse_con(txt, bigint_as_char)
   16. base::open.connection(con, "rb")
  
  ── 2. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_
  Timeout was reached: [sysreqs.r-hub.io] Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
  Backtrace:
    1. codemetar:::codemeta_description(example_file("DESCRIPTION_twomaintainers"))
    2. codemetar:::add_software_terms(codemeta, descr)
    3. codemetar:::parse_sys_reqs(descr$get("Package"), descr$get("SystemRequirements"))
    4. codemetar:::get_sys_links(pkg, description = sys_reqs)
    8. codemetar:::get_rhub_json_names("pkg", pkg)
   11. jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE)
   12. jsonlite:::parse_and_simplify(...)
   13. jsonlite:::parseJSON(txt, bigint_as_char)
   14. jsonlite:::parse_con(txt, bigint_as_char)
   16. base::open.connection(con, "rb")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 92 | SKIPPED: 32 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: no direct link to README (@test-codemeta_description.R#20) 
  2. Error: We can parse plain Authors: & Maintainers: entries (@test-codemeta_description.R#48) 
  
  Error: testthat unit tests failed
  Execution halted