Running ‘testthat.R’ [18s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(datapackage.r)
  > 
  > test_check("datapackage.r")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-profile.R:105:5): profile data-package should be up-to-date ─────
  Error: HTTP error 404.
  Backtrace:
      █
   1. └─datapackage.r::helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) test-profile.R:105:4
   2.   └─jsonlite::fromJSON(lst, simplifyVector = FALSE)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  ── Error (test-profile.R:105:5): profile tabular-data-package should be up-to-date ──
  Error: HTTP error 404.
  Backtrace:
      █
   1. └─datapackage.r::helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) test-profile.R:105:4
   2.   └─jsonlite::fromJSON(lst, simplifyVector = FALSE)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  ── Error (test-profile.R:105:5): profile fiscal-data-package should be up-to-date ──
  Error: HTTP error 404.
  Backtrace:
      █
   1. └─datapackage.r::helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) test-profile.R:105:4
   2.   └─jsonlite::fromJSON(lst, simplifyVector = FALSE)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  ── Error (test-profile.R:105:5): profile data-resource should be up-to-date ────
  Error: HTTP error 404.
  Backtrace:
      █
   1. └─datapackage.r::helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) test-profile.R:105:4
   2.   └─jsonlite::fromJSON(lst, simplifyVector = FALSE)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  ── Error (test-profile.R:105:5): profile tabular-data-resource should be up-to-date ──
  Error: HTTP error 404.
  Backtrace:
      █
   1. └─datapackage.r::helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) test-profile.R:105:4
   2.   └─jsonlite::fromJSON(lst, simplifyVector = FALSE)
   3.     └─jsonlite:::parse_and_simplify(...)
   4.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   5.         └─jsonlite:::parse_con(txt, bigint_as_char)
   6.           ├─base::open(con, "rb")
   7.           └─base::open.connection(con, "rb")
  ── Error (test-profile.R:117:5): profile data-package should be up-to-date ─────
  Error: task 1 failed - "lexical error: invalid char in json text.
                                         <!DOCTYPE html> <html>   <head>
                       (right here) ------^
  "
  Backtrace:
      █
   1. └─`%do%`(...) test-profile.R:117:4
   2.   └─e$fun(obj, substitute(ex), parent.frame(), e$data)
  ── Error (test-profile.R:117:5): profile tabular-data-package should be up-to-date ──
  Error: task 1 failed - "lexical error: invalid char in json text.
                                         <!DOCTYPE html> <html>   <head>
                       (right here) ------^
  "
  Backtrace:
      █
   1. └─`%do%`(...) test-profile.R:117:4
   2.   └─e$fun(obj, substitute(ex), parent.frame(), e$data)
  ── Error (test-profile.R:117:5): profile fiscal-data-package should be up-to-date ──
  Error: task 1 failed - "lexical error: invalid char in json text.
                                         <!DOCTYPE html> <html>   <head>
                       (right here) ------^
  "
  Backtrace:
      █
   1. └─`%do%`(...) test-profile.R:117:4
   2.   └─e$fun(obj, substitute(ex), parent.frame(), e$data)
  ── Error (test-profile.R:117:5): profile data-resource should be up-to-date ────
  Error: task 1 failed - "lexical error: invalid char in json text.
                                         <!DOCTYPE html> <html>   <head>
                       (right here) ------^
  "
  Backtrace:
      █
   1. └─`%do%`(...) test-profile.R:117:4
   2.   └─e$fun(obj, substitute(ex), parent.frame(), e$data)
  ── Error (test-profile.R:117:5): profile tabular-data-resource should be up-to-date ──
  Error: task 1 failed - "lexical error: invalid char in json text.
                                         <!DOCTYPE html> <html>   <head>
                       (right here) ------^
  "
  Backtrace:
      █
   1. └─`%do%`(...) test-profile.R:117:4
   2.   └─e$fun(obj, substitute(ex), parent.frame(), e$data)
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 190 ]
  Error: Test failures
  Execution halted