Running ‘test-all.R’ [36s/420s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rsdmx")
  Loading required package: rsdmx
  1. Error: DSD is properly associated to an SDMXData object (@test_Data.R#11) ---
  Failed to connect to data.uis.unesco.org port 80: Connection timed out
  1: readSDMX(providerId = "UIS", resource = "data", flowRef = "EDULIT_DS", key = list("OFST_1_CP", 
         NULL), start = "2000", end = "2015") at testthat/test_Data.R:11
  2: RCurl::getURL(file, httpheader = list(`User-Agent` = rsdmxAgent), ssl.verifypeer = FALSE, 
         .encoding = "UTF-8", headerfunction = h$update)
  3: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  4: function (type, msg, asError = TRUE) 
     {
         if (!is.character(type)) {
             i = match(type, CURLcodeValues)
             typeName = if (is.na(i)) 
                 character()
             else names(CURLcodeValues)[i]
         }
         typeName = gsub("^CURLE_", "", typeName)
         fun = (if (asError) 
             stop
         else warning)
         fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", 
             "error", "condition")))
     }(7L, "Failed to connect to data.uis.unesco.org port 80: Connection timed out", TRUE)
  
  2. Error: DSD is properly fetched by readSDMX and associated to the dataset (@test_Data.R#27) 
  Failed to connect to data.uis.unesco.org port 80: Connection timed out
  1: readSDMX(providerId = "UIS", resource = "data", flowRef = "EDULIT_DS", key = list("OFST_1_CP", 
         NULL), start = "2000", end = "2015", dsd = TRUE) at testthat/test_Data.R:27
  2: RCurl::getURL(file, httpheader = list(`User-Agent` = rsdmxAgent), ssl.verifypeer = FALSE, 
         .encoding = "UTF-8", headerfunction = h$update)
  3: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  4: function (type, msg, asError = TRUE) 
     {
         if (!is.character(type)) {
             i = match(type, CURLcodeValues)
             typeName = if (is.na(i)) 
                 character()
             else names(CURLcodeValues)[i]
         }
         typeName = gsub("^CURLE_", "", typeName)
         fun = (if (asError) 
             stop
         else warning)
         fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", 
             "error", "condition")))
     }(7L, "Failed to connect to data.uis.unesco.org port 80: Connection timed out", TRUE)
  
  3. Error: Dataset is correctly enriched with labels using the DSD (@test_Data.R#43) 
  Failed to connect to data.uis.unesco.org port 80: Connection timed out
  1: readSDMX(providerId = "UIS", resource = "data", flowRef = "CAI_DS", dsd = TRUE) at testthat/test_Data.R:43
  2: RCurl::getURL(file, httpheader = list(`User-Agent` = rsdmxAgent), ssl.verifypeer = FALSE, 
         .encoding = "UTF-8", headerfunction = h$update)
  3: curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
  4: function (type, msg, asError = TRUE) 
     {
         if (!is.character(type)) {
             i = match(type, CURLcodeValues)
             typeName = if (is.na(i)) 
                 character()
             else names(CURLcodeValues)[i]
         }
         typeName = gsub("^CURLE_", "", typeName)
         fun = (if (asError) 
             stop
         else warning)
         fun(structure(list(message = msg, call = sys.call()), class = c(typeName, "GenericCurlError", 
             "error", "condition")))
     }(7L, "Failed to connect to data.uis.unesco.org port 80: Connection timed out", TRUE)
  
  <simpleError in regexpr("<!DOCTYPE html>", content): object 'content' not found>
  testthat results ================================================================
  OK: 206 SKIPPED: 53 FAILED: 3
  1. Error: DSD is properly associated to an SDMXData object (@test_Data.R#11) 
  2. Error: DSD is properly fetched by readSDMX and associated to the dataset (@test_Data.R#27) 
  3. Error: Dataset is correctly enriched with labels using the DSD (@test_Data.R#43) 
  
  Error: testthat unit tests failed
  Execution halted