Running ‘testthat.R’ [13s/504s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(codemetar)
  > 
  > test_check("codemetar")
  ── 1. Error: we can call crosswalk (@test-crosswalk.R#31)  ─────────────────────
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: crosswalk(f, "GitHub", "Zenodo") at testthat/test-crosswalk.R:31
  2: get_crosswalk_context(crosswalk_table(to), codemeta_context)
  3: crosswalk_table(to)
  4: readr::read_csv(full_crosswalk, col_types = cols(.default = "c"))
  5: read_delimited(file, tokenizer, col_names = col_names, col_types = col_types, locale = locale, 
         skip = skip, skip_empty_rows = skip_empty_rows, comment = comment, n_max = n_max, 
         guess_max = guess_max, progress = progress)
  6: datasource_connection(file, skip, skip_empty_rows, comment)
  7: read_connection(path)
  8: open(con, "rb")
  9: open.connection(con, "rb")
  
  ── 2. Error: We can read an existing codemeta.json file (@test-write_codemeta.R#
  Timeout was reached: Resolving timed out after 10001 milliseconds
  1: write_codemeta("codemetar") at testthat/test-write_codemeta.R:31
  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: parse_and_simplify(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: 80 SKIPPED: 10 FAILED: 2
  1. Error: we can call crosswalk (@test-crosswalk.R#31) 
  2. Error: We can read an existing codemeta.json file (@test-write_codemeta.R#31) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In which(sp == pkgname) :
    closing unused connection 4 (https://github.com/codemeta/codemeta/raw/master/crosswalk.csv)
  Execution halted