Running ‘testthat.R’ [185s/124s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsconnect)
  > 
  > test_check("rsconnect")
  Starting 2 test processes
  [ FAIL 8 | WARN 0 | SKIP 109 | PASS 557 ]
  
  ══ Skipped tests (109) ═════════════════════════════════════════════════════════
  • On CRAN (90): 'test-accounts.R:26:3', 'test-accounts.R:34:3',
    'test-account-find.R:2:3', 'test-account-find.R:10:3',
    'test-account-find.R:18:3', 'test-account-find.R:33:3',
    'test-appMetadata-quarto.R:72:3', 'test-appDependencies.R:35:3',
    'test-applications.R:34:3', 'test-appMetadata.R:5:3',
    'test-appMetadata.R:26:3', 'test-appMetadata.R:44:3',
    'test-appMetadata.R:53:3', 'test-appMetadata.R:182:3', 'test-bundle.R:2:3',
    'test-bundle.R:16:3', 'test-bundle.R:27:3', 'test-bundle.R:39:3',
    'test-bundle.R:52:3', 'test-bundle.R:65:3', 'test-bundle.R:78:3',
    'test-bundle.R:97:3', 'test-bundle.R:116:3', 'test-bundle.R:133:3',
    'test-bundle.R:202:3', 'test-bundleFiles.R:10:3', 'test-bundleFiles.R:16:3',
    'test-bundleFiles.R:37:3', 'test-bundleFiles.R:54:3',
    'test-bundleFiles.R:159:3', 'test-bundleFiles.R:217:3',
    'test-bundleFiles.R:238:3', 'test-bundlePackagePackrat.R:22:3',
    'test-bundlePackage.R:3:3', 'test-bundlePackage.R:14:3',
    'test-bundlePackage.R:27:3', 'test-bundlePackage.R:54:3',
    'test-bundlePython.R:2:3', 'test-bundlePython.R:25:3',
    'test-bundlePython.R:40:3', 'test-bundlePython.R:49:3',
    'test-bundlePython.R:60:3', 'test-client-connect.R:20:3',
    'test-cookies.R:68:3', 'test-deployApp.R:2:3', 'test-deployApp.R:9:3',
    'test-deployApp.R:17:3', 'test-deployApp.R:28:3', 'test-deployApp.R:61:3',
    'test-deployApp.R:78:3', 'test-deployApp.R:94:3', 'test-deployDoc.R:2:3',
    'test-deploymentTarget.R:4:3', 'test-deploymentTarget.R:12:3',
    'test-deploymentTarget.R:28:3', 'test-deploymentTarget.R:44:3',
    'test-deploymentTarget.R:65:3', 'test-deploymentTarget.R:107:3',
    'test-deploymentTarget.R:262:3', 'test-deployments-find.R:3:3',
    'test-deployments-find.R:22:3', 'test-deployments.R:182:3',
    'test-bundlePackageRenv.R:29:3', 'test-http-libcurl.R:23:3',
    'test-http-libcurl.R:29:3', 'test-http.R:3:3', 'test-http.R:28:3',
    'test-http.R:44:3', 'test-http.R:83:3', 'test-http.R:112:3',
    'test-http.R:121:3', 'test-lint.R:2:3', 'test-linters.R:7:3',
    'test-secret.R:6:3', 'test-servers-deprec.R:4:3', 'test-servers.R:19:3',
    'test-servers.R:23:3', 'test-servers.R:32:3', 'test-servers.R:65:3',
    'test-servers.R:72:3', 'test-servers.R:117:3', 'test-servers.R:177:3',
    'test-servers.R:191:3', 'test-servers.R:201:3', 'test-writeManifest.R:11:3',
    'test-writeManifest.R:27:3', 'test-writeManifest.R:43:3',
    'test-writeManifest.R:52:3', 'test-writeManifest.R:175:3', 'test-ide.R:37:3'
  • On Linux (2): 'test-locale.R:2:3', 'test-locale.R:9:3'
  • quarto cli is not installed (17): 'test-appMetadata-quarto.R:13:3',
    'test-appMetadata-quarto.R:47:3', 'test-appMetadata-quarto.R:60:3',
    'test-appMetadata-quarto.R:78:3', 'test-appMetadata-quarto.R:88:3',
    'test-appMetadata-quarto.R:98:3', 'test-appMetadata.R:19:3',
    'test-deploySite.R:2:3', 'test-writeManifest.R:70:3',
    'test-writeManifest.R:81:3', 'test-writeManifest.R:93:3',
    'test-writeManifest.R:105:3', 'test-writeManifest.R:117:3',
    'test-writeManifest.R:127:3', 'test-writeManifest.R:139:3',
    'test-writeManifest.R:155:3', 'test-writeManifest.R:179:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-servers.R:55:3'): addServer() normalises url ───────────────────
  Error in `addServer("connect.rstudioservices.com", name = "connect", quiet = TRUE)`: `url` does not appear to be a Posit Connect server.
  Backtrace:
      ▆
   1. └─rsconnect::addServer("connect.rstudioservices.com", name = "connect", quiet = TRUE) at test-servers.R:55:2
   2.   └─cli::cli_abort("{.arg url} does not appear to be a Posit Connect server.")
   3.     └─rlang::abort(...)
  ── Failure ('test-ide.R:4:3'): validateServerUrl() returns expected ────────────
  validateServerUrl("https://connect.rstudioservices.com/")$valid is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-ide.R:9:3'): validateServerUrl() normalises urls ─────────────
  validateServerUrl("connect.rstudioservices.com/")$valid is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-ide.R:16:3'): validateConnectUrl() returns expected return for some known endpoints ──
  validateConnectUrl("https://connect.rstudioservices.com/")$valid is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-ide.R:22:3'): validateConnectUrl() normalises urls ───────────
  validateConnectUrl("connect.rstudioservices.com")$url (`actual`) not equal to `api_url` (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('https://connect.rstudioservices.com/__api__')
  ── Failure ('test-ide.R:23:3'): validateConnectUrl() normalises urls ───────────
  validateConnectUrl("connect.rstudioservices.com")$url (`actual`) not equal to `api_url` (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('https://connect.rstudioservices.com/__api__')
  ── Failure ('test-ide.R:24:3'): validateConnectUrl() normalises urls ───────────
  validateConnectUrl("https://connect.rstudioservices.com/")$url (`actual`) not equal to `api_url` (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('https://connect.rstudioservices.com/__api__')
  ── Failure ('test-ide.R:29:3'): validateConnectUrl() follows redirects ─────────
  validateConnectUrl("http://connect.rstudioservices.com")$url (`actual`) not equal to `api_url` (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('https://connect.rstudioservices.com:443/__api__')
  
  [ FAIL 8 | WARN 0 | SKIP 109 | PASS 557 ]
  Error: Test failures
  Execution halted