Running ‘testthat.R’ [62s/38s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsconnect)
  > 
  > test_check("rsconnect")
  Starting 2 test processes
  [ FAIL 3 | WARN 7 | SKIP 129 | PASS 593 ]
  
  ══ Skipped tests (129) ═════════════════════════════════════════════════════════
  • On CRAN (110): '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-appMetadata.R:21:3',
    'test-appMetadata.R:68:3', 'test-appMetadata.R:77:3',
    'test-appMetadata.R:206:3', 'test-applications.R:34: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:225:3', 'test-bundleFiles.R:283:3',
    'test-bundleFiles.R:304:3', 'test-appDependencies.R:80:3',
    'test-bundlePackagePackrat.R:22:3', 'test-bundlePackagePackrat.R:40:3',
    'test-bundlePackage.R:4:3', 'test-bundlePackage.R:20:3',
    'test-bundlePackage.R:35:3', 'test-bundlePackage.R:51:3',
    'test-bundlePackage.R:69:3', 'test-bundlePackage.R:99: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-bundlePackageRenv.R:29:3',
    'test-bundlePackageRenv.R:67:3', 'test-bundlePackageRenv.R:97:3',
    'test-deployApp.R:2:3', 'test-deployApp.R:9:3', 'test-deployApp.R:16:3',
    'test-deployApp.R:30:3', 'test-deployApp.R:63:3', 'test-deployApp.R:80:3',
    'test-deployApp.R:96:3', 'test-deployDoc.R:2:3', 'test-deployDoc.R:9:3',
    'test-deployDoc.R:18:3', 'test-deployDoc.R:29:3', 'test-deployDoc.R:44:3',
    'test-deployDoc.R:55:3', 'test-deployDoc.R:66:3', 'test-deployDoc.R:77:3',
    'test-deployDoc.R:88:3', 'test-deployDoc.R:99:3', 'test-deployDoc.R:110:3',
    'test-deployments-find.R:3:3', 'test-deployments-find.R:22:3',
    'test-deployments.R:182: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:278: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:2:3',
    'test-ide.R:2:3', 'test-ide.R:11:3', 'test-ide.R:18:3', 'test-ide.R:27:3',
    'test-ide.R:36:3', 'test-ide.R:47:3', 'test-servers.R:19:3',
    'test-servers.R:23:3', 'test-servers.R:32:3', 'test-servers.R:53:3',
    'test-servers.R:66:3', 'test-servers.R:73:3', 'test-servers.R:118:3',
    'test-servers.R:178:3', 'test-servers.R:192:3', 'test-servers.R:202:3',
    'test-writeManifest.R:32:3', 'test-writeManifest.R:48:3',
    'test-writeManifest.R:64:3', 'test-writeManifest.R:73:3',
    'test-writeManifest.R:196: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:14:3',
    'test-deploySite.R:2:3', 'test-writeManifest.R:91:3',
    'test-writeManifest.R:102:3', 'test-writeManifest.R:114:3',
    'test-writeManifest.R:126:3', 'test-writeManifest.R:138:3',
    'test-writeManifest.R:148:3', 'test-writeManifest.R:160:3',
    'test-writeManifest.R:176:3', 'test-writeManifest.R:200:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-client-cloud.R:582:3'): deploymentTargetForApp() results in correct Cloud API calls ──
  Error in `if (any(ind)) {
      lines <- substr(lines[pos[ind]], 1L, 0.7 * getOption("width"))
      stop(gettextf("Invalid DCF format.\nContinuation lines must not start a record.\nOffending lines start with:\n%s", 
          paste0("  ", lines, collapse = "\n")), domain = NA)
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. └─rsconnect:::deploymentTargetForApp(...) at test-client-cloud.R:582:2
   2.   └─rsconnect:::getApplication(...)
   3.     └─rsconnect::accountInfo(account, server)
   4.       └─base::read.dcf(configFile, all = TRUE)
  ── Error ('test-client-cloud.R:770:3'): deployApp() for shiny results in correct Cloud API calls ──
  Error in `if (any(ind)) {
      lines <- substr(lines[pos[ind]], 1L, 0.7 * getOption("width"))
      stop(gettextf("Invalid DCF format.\nContinuation lines must not start a record.\nOffending lines start with:\n%s", 
          paste0("  ", lines, collapse = "\n")), domain = NA)
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. └─rsconnect::deployApp(...) at test-client-cloud.R:770:2
   2.   └─rsconnect::accountInfo(target$account, target$server)
   3.     └─base::read.dcf(configFile, all = TRUE)
  ── Error ('test-client-cloud.R:864:3'): deployDoc() results in correct Cloud API calls ──
  Error in `if (any(ind)) {
      lines <- substr(lines[pos[ind]], 1L, 0.7 * getOption("width"))
      stop(gettextf("Invalid DCF format.\nContinuation lines must not start a record.\nOffending lines start with:\n%s", 
          paste0("  ", lines, collapse = "\n")), domain = NA)
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. └─rsconnect::deployDoc(...) at test-client-cloud.R:864:2
   2.   └─rsconnect::deployApp(...)
   3.     └─rsconnect::accountInfo(target$account, target$server)
   4.       └─base::read.dcf(configFile, all = TRUE)
  
  [ FAIL 3 | WARN 7 | SKIP 129 | PASS 593 ]
  Error: Test failures
  Execution halted