Running ‘testthat.R’ [27s/131s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(datapackage.r)
  > 
  > test_check("datapackage.r")
  ── 1. Error: profile data-package should be up-to-date (@test-profile.R#105)  ──
  Timeout was reached: Connection timed out after 10000 milliseconds
  1: helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:105
  2: jsonlite::fromJSON(lst, simplifyVector = FALSE)
  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: profile tabular-data-package should be up-to-date (@test-profile.R#
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:105
  2: jsonlite::fromJSON(lst, simplifyVector = FALSE)
  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: profile fiscal-data-package should be up-to-date (@test-profile.R#1
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:105
  2: jsonlite::fromJSON(lst, simplifyVector = FALSE)
  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: profile data-resource should be up-to-date (@test-profile.R#105)  ─
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:105
  2: jsonlite::fromJSON(lst, simplifyVector = FALSE)
  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: profile tabular-data-resource should be up-to-date (@test-profile.R
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: helpers.from.json.to.list(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:105
  2: jsonlite::fromJSON(lst, simplifyVector = FALSE)
  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")
  
  ── 6. Error: profile data-package should be up-to-date (@test-profile.R#114)  ──
  Timeout was reached: Connection timed out after 10000 milliseconds
  1: httr::GET(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:114
  2: request_perform(req, hu$handle$handle)
  3: request_fetch(req$output, req$url, handle)
  4: request_fetch.write_memory(req$output, req$url, handle)
  5: curl::curl_fetch_memory(url, handle = handle)
  
  ── 7. Error: profile tabular-data-package should be up-to-date (@test-profile.R#
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: httr::GET(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:114
  2: request_perform(req, hu$handle$handle)
  3: request_fetch(req$output, req$url, handle)
  4: request_fetch.write_memory(req$output, req$url, handle)
  5: curl::curl_fetch_memory(url, handle = handle)
  
  ── 8. Error: profile fiscal-data-package should be up-to-date (@test-profile.R#1
  Timeout was reached: Connection timed out after 10000 milliseconds
  1: httr::GET(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:114
  2: request_perform(req, hu$handle$handle)
  3: request_fetch(req$output, req$url, handle)
  4: request_fetch.write_memory(req$output, req$url, handle)
  5: curl::curl_fetch_memory(url, handle = handle)
  
  ── 9. Error: profile data-resource should be up-to-date (@test-profile.R#114)  ─
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: httr::GET(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:114
  2: request_perform(req, hu$handle$handle)
  3: request_fetch(req$output, req$url, handle)
  4: request_fetch.write_memory(req$output, req$url, handle)
  5: curl::curl_fetch_memory(url, handle = handle)
  
  ── 10. Error: profile tabular-data-resource should be up-to-date (@test-profile.
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: httr::GET(stringr::str_interp("https://specs.frictionlessdata.io/schemas/${PROFILES[[name]]}.json")) at testthat/test-profile.R:114
  2: request_perform(req, hu$handle$handle)
  3: request_fetch(req$output, req$url, handle)
  4: request_fetch.write_memory(req$output, req$url, handle)
  5: curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 186 SKIPPED: 0 WARNINGS: 0 FAILED: 10
  1.  Error: profile data-package should be up-to-date (@test-profile.R#105) 
  2.  Error: profile tabular-data-package should be up-to-date (@test-profile.R#105) 
  3.  Error: profile fiscal-data-package should be up-to-date (@test-profile.R#105) 
  4.  Error: profile data-resource should be up-to-date (@test-profile.R#105) 
  5.  Error: profile tabular-data-resource should be up-to-date (@test-profile.R#105) 
  6.  Error: profile data-package should be up-to-date (@test-profile.R#114) 
  7.  Error: profile tabular-data-package should be up-to-date (@test-profile.R#114) 
  8.  Error: profile fiscal-data-package should be up-to-date (@test-profile.R#114) 
  9.  Error: profile data-resource should be up-to-date (@test-profile.R#114) 
  10. Error: profile tabular-data-resource should be up-to-date (@test-profile.R#114) 
  
  Error: testthat unit tests failed
  Execution halted