### Description
We use `rsconnect::deployApp()` in our deployment pipeline to Pβ¦osit Connect.
After updating to v1.8.0 our pipeline fails due to an error involving `httr2`
Some details about our deployment pipeline and error logs.
```
> rsconnect::deployApp(appTitle = myAppTitle, appName = myAppName, envVars = c("myEnvVars"), forceUpdate = TRUE, logLevel = "verbose")
Session information:
R version 4.5.0 (2025-04-11)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 22.04.5 LTS
attached base packages:
[1] stats graphics grDevices datasets utils methods base
loaded via a namespace (and not attached):
[1] compiler_4.5.0 cli_3.6.6 rsconnect_1.8.0 tools_4.5.0
[5] yaml_2.3.12 lifecycle_1.0.5 rlang_1.2.0 renv_1.2.1
ββ Preparing for deployment ββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error in httr2::resp_timing(resp)$total :
$ operator is invalid for atomic vectors
Calls: <Anonymous> ... GET -> httpRequest -> httr2Request -> httpTrace -> cat
----- Deployment error -----
Error in httr2::resp_timing(resp)$total :
$ operator is invalid for atomic vectors
Calls: <Anonymous> ... GET -> httpRequest -> httr2Request -> httpTrace -> cat
----- Error stack trace -----
16: rsconnect::deployApp(appTitle = myAppTitle,
appName = myAppName, envVars = c("myEnvVars"),
forceUpdate = TRUE, logLevel = "verbose")
15: findDeploymentTarget(recordPath = recordPath, appId = appId,
appName = appName, appTitle = appTitle, envVars = envVars,
account = account, server = server, forceUpdate = forceUpdate)
14: findDeploymentTargetByAppName(recordPath = recordPath, appName = appName,
appTitle = appTitle, envVars = envVars, account = account,
server = server, forceUpdate = forceUpdate, error_call = error_call)
13: tryCatch(getAppByName(client, accountDetails, appName, error_call = error_call),
rsconnect_app_not_found = function(err) NULL)
12: tryCatchList(expr, classes, parentenv, handlers)
11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
10: doTryCatch(return(expr), name, parentenv, handler)
9: getAppByName(client, accountDetails, appName, error_call = error_call)
8: client$listApplications(accountInfo$accountId, filters = list(name = name))
7: listApplicationsRequest(service, authInfo, path, query, "applications")
6: GET(service, authInfo, path, queryWithList)
5: httpRequest(service, authInfo, "GET", path, query, headers, timeout,
rawResponse)
4: httr2Request(service, authInfo, method, path, headers, timeout,
certificate)
3: httpTrace(method, path, httr2::resp_timing(resp)$total)
2: cat(method, " ", path, " ", as.integer(time[["elapsed"]] * 1000),
"ms\n", sep = "")
1: (function (e)
{
cat("----- Deployment error -----\n")
...
Execution halted
```
The deployment pipeline works when we downgraded to `rsconnect@1.7.0`.
This also happens when trying to deploy locally.
With `options(rsconnect.httr2=FALSE)`, deploy works locally.
Posit Connect version: 2026.03.0
### Your environment
- rsconnect 1.8.0