Error in function (type, msg, asError = TRUE) :
Calls: ... tryCatch -> tryCatchList -> tryCatchOne ->
and the entire log with trace is:
Deploy command:
rsconnect::deployApp(appDir = "~/Google Drive/T15lumpsplit/inst/T15lumpsplit", appFileManifest = "/var/folders/6v/y_cp6z4d22ggbgrqdk0g73v80000gv/T/ed06-40be-6bf4-bf83", appPrimaryDoc = "Bias-variance-smoothing-shrinking.Rmd", appSourceDoc = "~/Google Drive/T15lumpsplit/inst/T15lumpsplit/Bias-variance-smoothing-shrinking.Rmd", account = "trials", server = "shinyapps.io", appName = "Bias-variance-smoothing-shrinking", appTitle = "Bias-variance-smoothing-shrinking", launch.browser = function(url) { message("Deployment completed: ", url) }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE), logLevel = "verbose")
Session information:
R version 3.5.0 (2018-04-23)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.5
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.0 rsconnect_0.8.8
Cookies:
[1] "None"
----- Deployment error -----
Error in function (type, msg, asError = TRUE) :
Calls: ... tryCatch -> tryCatchList -> tryCatchOne ->
----- Error stack trace -----
19: stop(e)
18: value[3L]
17: tryCatchOne(expr, names, parentenv, handlers[[1L]])
16: tryCatchList(expr, classes, parentenv, handlers)
15: tryCatch({
if (!is.null(file)) {
RCurl::curlPerform(url = url, .opts = options, customrequest = method,
readfunction = fileContents, infilesize = fileLength,
writefunction = textGatherer$update, upload = TRUE)
}
else if (method == "DELETE") {
RCurl::curlPerform(url = url, .opts = options, customrequest = method)
}
else {
if (identical(method, "GET")) {
RCurl::getURL(url, .opts = options, write = textGatherer)
}
else {
RCurl::curlPerform(url = url, .opts = options, customrequest = method,
writefunction = textGatherer$update)
}
}
}, error = function(e, ...) {
if (identical(e$message, "Callback aborted") || identical(e$message,
"transfer closed with outstanding read data remaining"))
return(NULL)
else stop(e)
})
14: system.time(gcFirst = FALSE, tryCatch({
if (!is.null(file)) {
RCurl::curlPerform(url = url, .opts = options, customrequest = method,
readfunction = fileContents, infilesize = fileLength,
writefunction = textGatherer$update, upload = TRUE)
}
else if (method == "DELETE") {
RCurl::curlPerform(url = url, .opts = options, customrequest = method)
}
else {
if (identical(method, "GET")) {
RCurl::getURL(url, .opts = options, write = textGatherer)
}
else {
RCurl::curlPerform(url = url, .opts = options, customrequest = method,
writefunction = textGatherer$update)
}
}
}, error = function(e, ...) {
if (identical(e$message, "Callback aborted") || identical(e$message,
"transfer closed with outstanding read data remaining"))
return(NULL)
else stop(e)
}))
13: http(service$protocol, service$host, service$port, method, url,
headers, writer = writer, timeout = timeout, certificate = certificate)
12: httpRequest(service, authInfo, "GET", path, query, headers, writer,
timeout)
11: GET(service, authInfo, path, queryWithList)
10: grepl(contentType, response$contentType, fixed = TRUE)
9: isContentType(response, "application/json")
8: handleResponse(GET(service, authInfo, path, queryWithList))
7: listRequest(service, authInfo, path, query, "applications")
6: client$listApplications(accountInfo$accountId, filters = list(name = name))
5: getAppByName(client, accountInfo, target$appName)
4: applicationForTarget(client, accountDetails, target, forceUpdate)
3: force(code)
2: withStatus(paste0("Preparing to deploy ", assetTypeName), {
application <- applicationForTarget(client, accountDetails,
target, forceUpdate)
})
1: rsconnect::deployApp(appDir = "~/Google Drive/T15lumpsplit/inst/T15lumpsplit",
appFileManifest = "/var/folders/6v/y_cp6z4d22ggbgrqdk0g73v80000gv/T/ed06-40be-6bf4-bf83",
appPrimaryDoc = "Bias-variance-smoothing-shrinking.Rmd",
appSourceDoc = "~/Google Drive/T15lumpsplit/inst/T15lumpsplit/Bias-variance-smoothing-shrinking.Rmd",
account = "trials", server = "shinyapps.io", appName = "Bias-variance-smoothing-shrinking",
appTitle = "Bias-variance-smoothing-shrinking", launch.browser = function(url) {
message("Deployment completed: ", url)
}, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE),
logLevel = "verbose")