Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [24s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressMessages(library(testthat))
  > 
  > test_check("fbar")
  Loading required package: fbar
  ── 1. Error: Works correctly with http://bigg.ucsd.edu/static/models/iJO1366.jso
  HTTP error 503.
  1: get_BiGG(address) at testthat/test-utilities.R:27
  2: jsonlite::fromJSON(address)
  3: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  4: parseJSON(txt, bigint_as_char)
  5: parse_con(txt, bigint_as_char)
  6: open(con, "rb")
  7: open.connection(con, "rb")
  
  ── 2. Error: Works correctly with http://bigg.ucsd.edu/static/models/iAF1260.jso
  HTTP error 503.
  1: get_BiGG(address) at testthat/test-utilities.R:27
  2: jsonlite::fromJSON(address)
  3: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  4: parseJSON(txt, bigint_as_char)
  5: parse_con(txt, bigint_as_char)
  6: open(con, "rb")
  7: open.connection(con, "rb")
  
  ── 3. Error: Works correctly with http://bigg.ucsd.edu/api/v2/models/iND750/down
  HTTP error 503.
  1: get_BiGG(address) at testthat/test-utilities.R:27
  2: jsonlite::fromJSON(address)
  3: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  4: parseJSON(txt, bigint_as_char)
  5: parse_con(txt, bigint_as_char)
  6: open(con, "rb")
  7: open.connection(con, "rb")
  
  ── 4. Error: Works correctly with http://bigg.ucsd.edu/static/models/e_coli_core
  HTTP error 503.
  1: get_BiGG(address) at testthat/test-utilities.R:27
  2: jsonlite::fromJSON(address)
  3: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  4: parseJSON(txt, bigint_as_char)
  5: parse_con(txt, bigint_as_char)
  6: open(con, "rb")
  7: open.connection(con, "rb")
  
  ── 5. Error: Works correctly with http://bigg.ucsd.edu/static/models/RECON1.json
  HTTP error 503.
  1: get_BiGG(address) at testthat/test-utilities.R:27
  2: jsonlite::fromJSON(address)
  3: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame, 
         simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
  4: parseJSON(txt, bigint_as_char)
  5: parse_con(txt, bigint_as_char)
  6: open(con, "rb")
  7: open.connection(con, "rb")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 39 SKIPPED: 2 FAILED: 5
  1. Error: Works correctly with http://bigg.ucsd.edu/static/models/iJO1366.json (@test-utilities.R#27) 
  2. Error: Works correctly with http://bigg.ucsd.edu/static/models/iAF1260.json (@test-utilities.R#27) 
  3. Error: Works correctly with http://bigg.ucsd.edu/api/v2/models/iND750/download (@test-utilities.R#27) 
  4. Error: Works correctly with http://bigg.ucsd.edu/static/models/e_coli_core.json (@test-utilities.R#27) 
  5. Error: Works correctly with http://bigg.ucsd.edu/static/models/RECON1.json (@test-utilities.R#27) 
  
  Error: testthat unit tests failed
  Execution halted