Can't Publish Any Docs to Rpubs - "lastSyncTime" Error

I am not able to publish any documents to Rpubs .

This is what I did.

  • I created an R Markdown
  • I pressed the publish button
  • I selected the Rpubs option
  • I pushed the publish button

It runs for a while, then I always receive an error. When I use the automatic template, I receive the following error:

Error in = name, title = if (is.null(title)) "" else title,  : 
  argument "lastSyncTime" is missing, with no default
Calls: <Anonymous> -> deploymentRecord ->
Execution halted

I've tried uninstalling and reinstalling R. I can't find a solution.

What version of RStudio are you using? And also what versions of R, and the rsconnect package (packageVersion("rsconnect"))?


I'm using the following versions:

RStudio: 1.3.1056
R: 4.0.2


Hi @mfwade I just pushed a fix to the main branch for RSConnect. If you're willing to try it out and see if it fixes you issue you can do so by running: remotes::install_github("rstudio/rsconnect") and restarting RStudio. If you try this let me know if this works!


1 Like

Hello Adam:
Thanks! Now, I can publish the automatic template; however, I'm still having trouble publishing a choropleth map when using leaflet. After pushing the publish button, I receive the following error after a bit:

Error in curl::curl_fetch_memory(url, handle = handle) :
HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
Calls: ... tryCatch -> tryCatchList -> tryCatchOne ->
Timing stopped at: 0.211 0.238 38.83
Execution halted

Mary Fall

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.