Running ‘testthat.R’ [2s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > #option(testthat.default_reporter = "summary")
  > test_check("iptmnetr")
  Loading required package: iptmnetr
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_api.R:8:3): get_info returns valid data ─────────────────────────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_info("Q15796") test_api.R:8:2
  ── Error (test_api.R:13:3): search returns valid data ──────────────────────────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::search_iptmnet("Smad2", TermType()$ALL, Role()$EnzymeOrSubstrate) test_api.R:13:2
  ── Error (test_api.R:20:3): get_substrates returns valid data ──────────────────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_substrates("Q15796") test_api.R:20:2
  ── Error (test_api.R:27:3): get_proteoforms returns valid data ─────────────────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_proteoforms("Q15796") test_api.R:27:2
  ── Error (test_api.R:34:3): get_ptmppi returns valid data ──────────────────────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_ptm_dependent_ppi("Q15796") test_api.R:34:2
  ── Error (test_api.R:40:3): get_variants returns valid data ────────────────────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_variants("Q15796") test_api.R:40:2
  ── Error (test_api.R:46:3): test get_ppi_for_proteoforms returns valid data ────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_ppi_for_proteoforms("Q15796") test_api.R:46:2
  ── Error (test_api.R:69:3): get_ptm_enzymes_from_list returns valid data ───────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_ptm_enzymes_from_list(substrates) test_api.R:69:2
  ── Error (test_api.R:99:3): test get_ptm_ppi_from_list returns valid data ──────
  Error: Request failed with code : 500 and error : IO error: failed to lookup address information: Name or service not known
  Backtrace:
      █
   1. └─iptmnetr::get_ptm_ppi_from_list(substrates) test_api.R:99:2
  
  [ FAIL 9 | WARN 0 | SKIP 2 | PASS 0 ]
  Error: Test failures
  Execution halted