Running 'testthat.R' [33s/108s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(datapackage.r)
  > 
  > test_check("datapackage.r")
  -- 1. Error: initializes with URL descriptor (@test-package.R#23)  -------------
  Can not retrieve remote descriptor "500: Internal Server Error"
  Backtrace:
   1. datapackage.r::Package.load("https://raw.githubusercontent.com/frictionlessdata/datapackage-r/master/inst/extdata/dp1/datapackage.json")
   2. datapackage.r::retrieveDescriptor(descriptor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  -- 2. Error: loads relative resource (@test-package.R#48)  ---------------------
  Can not retrieve remote descriptor "500: Internal Server Error"
  Backtrace:
   1. datapackage.r::Package.load(descriptor)
   2. datapackage.r::retrieveDescriptor(descriptor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  -- 3. Error: loads resource from absolute URL (@test-package.R#60)  ------------
  Can not retrieve remote descriptor "500: Internal Server Error"
  Backtrace:
   1. datapackage.r::Package.load(descriptor)
   2. datapackage.r::retrieveDescriptor(descriptor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  -- 4. Error: loads resource from absolute URL disregarding basePath (@test-packa
  Can not retrieve remote descriptor "500: Internal Server Error"
  Backtrace:
   1. datapackage.r::Package.load(descriptor)
   2. datapackage.r::retrieveDescriptor(descriptor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  -- 5. Error: loads remote resource with basePath (@test-package.R#85)  ---------
  Can not retrieve remote descriptor "500: Internal Server Error"
  Backtrace:
   1. datapackage.r::Package.load(descriptor, basePath = "inst/extdata/dp1")
   2. datapackage.r::retrieveDescriptor(descriptor)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  == testthat results  ===========================================================
  [ OK: 248 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: initializes with URL descriptor (@test-package.R#23) 
  2. Error: loads relative resource (@test-package.R#48) 
  3. Error: loads resource from absolute URL (@test-package.R#60) 
  4. Error: loads resource from absolute URL disregarding basePath (@test-package.R#72) 
  5. Error: loads remote resource with basePath (@test-package.R#85) 
  
  Error: testthat unit tests failed
  Execution halted