Running ‘testthat.R’ [79s/264s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsconnect)
  > 
  > test_check("rsconnect")
  Starting 2 test processes
  [ FAIL 4 | WARN 0 | SKIP 135 | PASS 615 ]
  
  ══ Skipped tests (135) ═════════════════════════════════════════════════════════
  • On CRAN (132): '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-account-find.R:49:3', 'test-appDependencies.R:2:3',
    'test-appDependencies.R:13:3', 'test-appDependencies.R:66:3',
    'test-appDependencies.R:84:3', 'test-accounts.R:30:3',
    'test-accounts.R:38:3', 'test-appMetadata-quarto.R:12:3',
    'test-appMetadata-quarto.R:25:3', 'test-appMetadata-quarto.R:61:3',
    'test-appMetadata-quarto.R:67:3', 'test-appMetadata-quarto.R:76:3',
    'test-appMetadata-quarto.R:84:3', 'test-appMetadata-quarto.R:95:3',
    'test-appMetadata-quarto.R:115:3', 'test-appMetadata-quarto.R:143:3',
    'test-appMetadata-quarto.R:165:3', 'test-applications.R:34:3',
    'test-bundle.R:2:3', 'test-bundle.R:13:3', 'test-bundle.R:28:3',
    'test-bundle.R:40:3', 'test-bundle.R:53:3', 'test-bundle.R:66:3',
    'test-bundle.R:79:3', 'test-bundle.R:101:3', 'test-bundle.R:123:3',
    'test-bundle.R:140:3', 'test-bundle.R:211:3', 'test-appMetadata.R:4:3',
    'test-appMetadata.R:20:3', 'test-appMetadata.R:28:3',
    'test-appMetadata.R:71:3', 'test-appMetadata.R:81:3',
    'test-appMetadata.R:92:3', 'test-appMetadata.R:307:3',
    'test-bundleFiles.R:9:3', 'test-bundleFiles.R:15:3',
    'test-bundleFiles.R:36:3', 'test-bundleFiles.R:56:3',
    'test-bundleFiles.R:235:3', 'test-bundleFiles.R:293:3',
    'test-bundleFiles.R:314:3', 'test-bundlePackage.R:7:3',
    'test-bundlePackage.R:26:3', 'test-bundlePackage.R:44:3',
    'test-bundlePackage.R:63:3', 'test-bundlePackage.R:84:3',
    'test-bundlePackage.R:117:3', 'test-bundlePackageRenv.R:4:3',
    'test-bundlePackageRenv.R:11:3', 'test-bundlePackageRenv.R:20:3',
    'test-bundlePackageRenv.R:36:3', 'test-bundlePackageRenv.R:46:3',
    'test-bundlePackageRenv.R:83:3', 'test-bundlePackageRenv.R:128:3',
    'test-bundlePython.R:2:3', 'test-bundlePython.R:25:3',
    'test-bundlePython.R:40:3', 'test-bundlePython.R:52:3',
    'test-bundlePython.R:63:3', 'test-bundlePackagePackrat.R:24:3',
    'test-bundlePackagePackrat.R:45:3', 'test-client-cloud.R:888:3',
    'test-client-cloud.R:992:3', 'test-cookies.R:75:3', 'test-deployApp.R:2:3',
    'test-deployApp.R:9:3', 'test-deployApp.R:16:3', 'test-deployApp.R:30:3',
    'test-deployApp.R:70:3', 'test-deployApp.R:88:3', 'test-deployApp.R:104:3',
    'test-deployDoc.R:2:3', 'test-deployDoc.R:9:3', 'test-deployDoc.R:18:3',
    'test-deployDoc.R:31:3', 'test-deployDoc.R:46:3', 'test-deployDoc.R:57:3',
    'test-deployDoc.R:68:3', 'test-deployDoc.R:79:3', 'test-deployDoc.R:93:3',
    'test-deployDoc.R:107:3', 'test-deployDoc.R:121:3', 'test-deploySite.R:2:3',
    'test-deploySite.R:22:3', 'test-client-connect.R:2:3',
    'test-client-connect.R:15:3', 'test-client-connect.R:25:3',
    'test-client-connect.R:73:3', 'test-client-connect.R:96:3',
    'test-deployments-find.R:6:3', 'test-deployments-find.R:51:3',
    'test-deployments.R:191:3', 'test-deploymentTarget.R:4:3',
    'test-deploymentTarget.R:12:3', 'test-deploymentTarget.R:28:3',
    'test-deploymentTarget.R:162:3', 'test-deploymentTarget.R:189:3',
    'test-deploymentTarget.R:340:3', 'test-deploymentTarget.R:474:3',
    'test-deploymentTarget.R:485:3', 'test-http-libcurl.R:33:3',
    'test-http.R:3:3', 'test-http.R:56:3', 'test-http.R:95:3',
    'test-http.R:136:3', 'test-http.R:165:3', 'test-http.R:176:3',
    'test-ide.R:2:3', 'test-ide.R:12:3', 'test-ide.R:53:3', 'test-ide.R:64:3',
    'test-linters.R:7:3', 'test-secret.R:6:3', 'test-lint.R:2:3',
    'test-servers-deprec.R:2:3', 'test-writeManifest.R:1:1',
    'test-servers.R:19:3', 'test-servers.R:23:3', 'test-servers.R:32:3',
    'test-servers.R:56:3', 'test-servers.R:87:3', 'test-servers.R:94:3',
    'test-servers.R:140:3', 'test-servers.R:200:3', 'test-servers.R:214:3',
    'test-servers.R:224:3'
  • On Linux (3): 'test-locale.R:2:3', 'test-locale.R:9:3', 'test-utils.R:112:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-http-curl.R:7:3'): basic HTTP methods work ─────────────────────
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
  Backtrace:
       ▆
    1. └─rsconnect:::test_http_GET() at test-http-curl.R:7:3
    2.   └─rsconnect:::httpbin_service() at tests/testthat/helper-http.R:91:3
    3.     ├─rsconnect:::parseHttpUrl(app$url()) at tests/testthat/helper-http.R:10:3
    4.     │ └─base::regexec("(http|https)://([^:/#?]+)(?::(\\d+))?(.*)", urlText)
    5.     │   └─base::is.factor(text)
    6.     └─app$url()
    7.       └─self$start()
    8.         └─callr::r_session$new(callr_opts, wait = TRUE)
    9.           └─callr (local) initialize(...)
   10.             └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
   11.               └─throw(new_error("Could not start R session, timed out"))
  ── Error ('test-http-libcurl.R:6:3'): basic HTTP methods work ──────────────────
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
  Backtrace:
       ▆
    1. └─rsconnect:::test_http_GET() at test-http-libcurl.R:6:3
    2.   └─rsconnect:::httpbin_service() at tests/testthat/helper-http.R:91:3
    3.     ├─rsconnect:::parseHttpUrl(app$url()) at tests/testthat/helper-http.R:10:3
    4.     │ └─base::regexec("(http|https)://([^:/#?]+)(?::(\\d+))?(.*)", urlText)
    5.     │   └─base::is.factor(text)
    6.     └─app$url()
    7.       └─self$start()
    8.         └─callr::r_session$new(callr_opts, wait = TRUE)
    9.           └─callr (local) initialize(...)
   10.             └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
   11.               └─throw(new_error("Could not start R session, timed out"))
  ── Error ('test-http-libcurl.R:17:3'): can trace JSON ──────────────────────────
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
  Backtrace:
       ▆
    1. └─rsconnect:::httpbin_service() at test-http-libcurl.R:17:3
    2.   ├─rsconnect:::parseHttpUrl(app$url()) at tests/testthat/helper-http.R:10:3
    3.   │ └─base::regexec("(http|https)://([^:/#?]+)(?::(\\d+))?(.*)", urlText)
    4.   │   └─base::is.factor(text)
    5.   └─app$url()
    6.     └─self$start()
    7.       └─callr::r_session$new(callr_opts, wait = TRUE)
    8.         └─callr (local) initialize(...)
    9.           └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
   10.             └─throw(new_error("Could not start R session, timed out"))
  ── Error ('test-ide.R:93:3'): getUserFromRawToken having a single matching server ──
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `"rs_init(self, private, super, options, wait, wait_timeout)"`: ! Could not start R session, timed out
  Backtrace:
       ▆
    1. └─rsconnect (local) current_user_service() at test-ide.R:93:3
    2.   ├─rsconnect:::parseHttpUrl(app$url()) at test-ide.R:85:3
    3.   │ └─base::regexec("(http|https)://([^:/#?]+)(?::(\\d+))?(.*)", urlText)
    4.   │   └─base::is.factor(text)
    5.   └─app$url()
    6.     └─self$start()
    7.       └─callr::r_session$new(callr_opts, wait = TRUE)
    8.         └─callr (local) initialize(...)
    9.           └─callr:::rs_init(self, private, super, options, wait, wait_timeout)
   10.             └─throw(new_error("Could not start R session, timed out"))
  
  [ FAIL 4 | WARN 0 | SKIP 135 | PASS 615 ]
  Error: Test failures
  Execution halted