Running ‘testthat.R’ [87s/128s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsconnect)
  > 
  > test_check("rsconnect")
  Starting 2 test processes.
  > test-client-connectCloud.R: i Done.
  > test-client-connectCloud.R: i Done.
  > test-deploymentTarget.R: Discovered a previously deployed app named "remotename"
  > test-deploymentTarget.R: (View it at <app-url>)
  > test-deploymentTarget.R: What do you want to do?
  > test-deploymentTarget.R: 1: Update the existing app.
  > test-deploymentTarget.R: 2: Create a new app with automatically generated name ("my_app-1").
  > test-deploymentTarget.R: 3: Abort this deployment and supply a custom `appName`.
  > test-deploymentTarget.R: Selection: 1
  Saving _problems/test-http-77.R
  [ FAIL 1 | WARN 0 | SKIP 134 | PASS 675 ]
  
  ══ Skipped tests (134) ═════════════════════════════════════════════════════════
  • On CRAN (131): 'test-accounts.R:24:1', 'test-accounts.R:37:1',
    'test-appDependencies.R:2:3', 'test-appDependencies.R:13:3',
    'test-appDependencies.R:66:3', 'test-appDependencies.R:84:3',
    'test-appMetadata-quarto.R:12:3', 'test-appMetadata-quarto.R:25:3',
    'test-appMetadata-quarto.R:59:1', 'test-appMetadata-quarto.R:67:3',
    'test-appMetadata-quarto.R:76:3', 'test-appMetadata-quarto.R:85:3',
    'test-appMetadata-quarto.R:96:3', 'test-appMetadata-quarto.R:116:3',
    'test-appMetadata-quarto.R:144:3', 'test-appMetadata-quarto.R:166:3',
    'test-account-find.R:1:1', 'test-account-find.R:8:1',
    'test-account-find.R:13:1', 'test-account-find.R:25:1',
    'test-account-find.R:40:1', 'test-applications.R:21:1', 'test-bundle.R:2:3',
    'test-bundle.R:13:3', 'test-bundle.R:28:3', 'test-bundle.R:40:3',
    'test-bundle.R:54:3', 'test-bundle.R:68:3', 'test-bundle.R:82:3',
    'test-bundle.R:105:3', 'test-bundle.R:128:3', 'test-bundle.R:146:3',
    'test-bundle.R:207:1', '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:388:1', 'test-bundleFiles.R:3:1',
    'test-bundleFiles.R:12:1', 'test-bundleFiles.R:20:1',
    'test-bundleFiles.R:54:1', 'test-bundleFiles.R:231:1',
    'test-bundleFiles.R:283:1', 'test-bundleFiles.R:310:1',
    'test-bundlePackagePackrat.R:15:1', 'test-bundlePackagePackrat.R:45: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:85:3',
    'test-bundlePackageRenv.R:120:1', '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-bundlePackage.R:1:1', 'test-bundlePackage.R:18:1',
    'test-bundlePackage.R:36:1', 'test-bundlePackage.R:54:1',
    'test-bundlePackage.R:74:1', 'test-bundlePackage.R:97:1',
    'test-client-connect.R:1:1', 'test-client-connect.R:14:1',
    'test-client-connect.R:24:1', 'test-client-connect.R:35:1',
    'test-cookies.R:90:1', 'test-deployApp.R:1:1', 'test-deployApp.R:9:3',
    'test-deployApp.R:16:3', 'test-deployApp.R:25:1', 'test-deployApp.R:69:1',
    'test-deployApp.R:88:1', 'test-deployApp.R:107:1', '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-deployments-find.R:1:1', 'test-deployments-find.R:43:1',
    'test-deployments.R:188:1', 'test-http-libcurl.R:13:1',
    'test-http-libcurl.R:33:3', 'test-deploymentTarget.R:1:1',
    'test-deploymentTarget.R:7:1', 'test-deploymentTarget.R:18:1',
    'test-deploymentTarget.R:154:1', 'test-deploymentTarget.R:180:1',
    'test-deploymentTarget.R:327:1', 'test-deploymentTarget.R:477:1',
    'test-deploymentTarget.R:487:1', 'test-http.R:1:1', 'test-http.R:99:3',
    'test-http.R:117:1', 'test-http.R:147:1', 'test-http.R:176:1',
    'test-ide.R:2:3', 'test-ide.R:12:3', 'test-ide.R:53:3', 'test-ide.R:58:1',
    'test-ide.R:122:1', 'test-lint.R:1:1', 'test-secret.R:5:1',
    'test-servers-deprec.R:2:3', 'test-linters.R:1:1', 'test-servers.R:9:1',
    'test-servers.R:22:1', 'test-servers.R:28:1', 'test-servers.R:34:1',
    'test-servers.R:61:3', 'test-servers.R:85:1', 'test-servers.R:95:1',
    'test-servers.R:140:1', 'test-servers.R:171:1', 'test-servers.R:183:1',
    'test-servers.R:194:1', 'test-writeManifest.R:1:1'
  • On Linux (3): 'test-locale.R:2:3', 'test-locale.R:9:3', 'test-utils.R:112:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-http.R:74:5'): authHeaders() picks correct method based on supplied fields ──
  Error in `hash_sign(md, sk)`: OpenSSL error: 40D95840C97F0000:error:03000098:digital envelope routines:evp_pkey_ctx_set_md:invalid digest:crypto/evp/pmeth_lib.c:966:
  
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-http.R:81:3
   2. │ └─testthat::quasi_label(enquo(expected), expected.label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─rsconnect (local) signRequestPrivateKeyOpenSSL(private_key, url)
   5.   └─openssl::signature_create(charToRaw(canonicalRequest), key = private_key) at test-http.R:74:5
   6.     └─openssl:::hash_sign(md, sk)
  
  [ FAIL 1 | WARN 0 | SKIP 134 | PASS 675 ]
  Error:
  ! Test failures.
  Execution halted