Running ‘testthat.R’ [0m/180m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsconnect)
  > 
  > test_check("rsconnect")
  
  ── 1. Error: simple http GET works (@test-http.R#87)  ──────────────────────────
  Operation was aborted by an application callback
  1: GET(service = service, authInfo = NULL, query = NULL, path = "test") at testthat/test-http.R:87
  2: httpRequest(service, authInfo, "GET", path, query, headers, timeout)
  3: httpInvokeRequest(..., http = httpFunction())
  4: http(service$protocol, service$host, service$port, method, url, headers, timeout = timeout, 
         certificate = certificate)
  5: system.time(gcFirst = FALSE, tryCatch({
         response <- curl::curl_fetch_memory(url, handle = handle)
     }, error = function(e, ...) {
         if (identical(e$message, "Callback aborted") || identical(e$message, "transfer closed with outstanding read data remaining")) 
             return(NULL)
         else stop(e)
     }))
  6: tryCatch({
         response <- curl::curl_fetch_memory(url, handle = handle)
     }, error = function(e, ...) {
         if (identical(e$message, "Callback aborted") || identical(e$message, "transfer closed with outstanding read data remaining")) 
             return(NULL)
         else stop(e)
     })
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  
  ── 2. Error: posting JSON works (@test-http.R#112)  ────────────────────────────
  Operation was aborted by an application callback
  1: POST_JSON(service = service, authInfo = NULL, json = body, query = NULL, path = "test") at testthat/test-http.R:112
  2: POST(service, authInfo, path, query, "application/json", content = toJSON(json, pretty = TRUE, 
         digits = 30), headers = headers)
  3: httpRequestWithBody(service, authInfo, "POST", path, query, contentType, file, content, 
         headers)
  4: http(service$protocol, service$host, service$port, method, url, headers, contentType, 
         file, certificate = certificate)
  5: system.time(gcFirst = FALSE, tryCatch({
         response <- curl::curl_fetch_memory(url, handle = handle)
     }, error = function(e, ...) {
         if (identical(e$message, "Callback aborted") || identical(e$message, "transfer closed with outstanding read data remaining")) 
             return(NULL)
         else stop(e)
     }))
  6: tryCatch({
         response <- curl::curl_fetch_memory(url, handle = handle)
     }, error = function(e, ...) {
         if (identical(e$message, "Callback aborted") || identical(e$message, "transfer closed with outstanding read data remaining")) 
             return(NULL)
         else stop(e)
     })
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)