Running ‘testthat.R’ [10s/136s]
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")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (21)
  ● nzchar(Sys.getenv("GITHUB_PAT")) is not TRUE (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-codemeta_description.R:28:3): We can parse plain Authors: & Maintainers: entries ──
  Error: Timeout was reached: [sysreqs.r-hub.io] Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  Backtrace:
       █
    1. └─codemetar:::codemeta_description(example_file("DESCRIPTION_plainauthors")) test-codemeta_description.R:28:2
    2.   └─codemetar:::add_software_terms(codemeta, descr, verbose)
    3.     └─codemetar:::parse_sys_reqs(...)
    4.       └─codemetar:::get_sys_links(pkg, description = sys_reqs, verbose)
    5.         ├─codemetar:::get_url_rhub(...)
    6.         │ └─base::sprintf("https://sysreqs.r-hub.io/%s/%s", a, b)
    7.         ├─base::unique(...)
    8.         └─codemetar:::get_rhub_json_names(...)
    9.           ├─base::sapply(...)
   10.           │ └─base::lapply(X = X, FUN = FUN, ...)
   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)
   15.                   ├─base::open(con, "rb")
   16.                   └─base::open.connection(con, "rb")
  ── Error (test-codemeta_description.R:61:3): Helper functions work correctly ───
  Error: Timeout was reached: [sysreqs.r-hub.io] Resolving timed out after 10000 milliseconds
  Backtrace:
       █
    1. └─codemetar:::add_software_terms(codemeta, descr) test-codemeta_description.R:61:2
    2.   └─codemetar:::parse_sys_reqs(...)
    3.     └─codemetar:::get_sys_links(pkg, description = sys_reqs, verbose)
    4.       ├─codemetar:::get_url_rhub(...)
    5.       │ └─base::sprintf("https://sysreqs.r-hub.io/%s/%s", a, b)
    6.       ├─base::unique(...)
    7.       └─codemetar:::get_rhub_json_names(...)
    8.         ├─base::sapply(...)
    9.         │ └─base::lapply(X = X, FUN = FUN, ...)
   10.         └─jsonlite::fromJSON(get_url_rhub(a, b), simplifyVector = FALSE)
   11.           └─jsonlite:::parse_and_simplify(...)
   12.             └─jsonlite:::parseJSON(txt, bigint_as_char)
   13.               └─jsonlite:::parse_con(txt, bigint_as_char)
   14.                 ├─base::open(con, "rb")
   15.                 └─base::open.connection(con, "rb")
  
  [ FAIL 2 | WARN 0 | SKIP 23 | PASS 97 ]
  Error: Test failures
  Execution halted