Rstudio v1.1.456 rpubs upload error, no login prompt

rstudio

#1

Hi I couldn't find any useful information in regards to this one.
When I try to publish to Rpubs on Rstudio, instead of login prompt I get this error message below.
[Edited] Rstudio version is 1.1.456 and R version is 3.5.1

Upload Error Occurred
Error in if (result$status == 201) succeeded <- TRUE :
missing value where TRUE/FALSE needed
Calls:
In addition: Warning message:
In http(protocol, "api.rpubs.com", port, method, path, headers, :
NAs introduced by coercion
Execution halted

I've already addded this line
options(rpubs.upload.method = "internal")
to both global and working directory Rprofile


error on Knit to flex_dashboard
#2

Hi @maxed88! Welcome!

What version of RStudio are you using? (3.5.1 is your version of R; what’s the difference? See: Differentiating R from RStudio)


#3

I am having exactly the same problem and I would really like to receive an answer what is wrong.


#4

Hi I'm currently using version 1.1.456.


#5

Same problem for me. Using Rstudio Version 1.1.463 on OSX.


#6

same here Version 1.1.456 on OS


#7

Thanks for the report. I get a similar though not identical error in RStudio 1.1.463:

Error in function (type, msg, asError = TRUE)  : Empty reply from server
Calls: <Anonymous> ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Timing stopped at: 0.041 0.009 0.999
Execution halted

but it works with no problems on RStudio 1.2.1114.


#8

This might be an issue in the most recent version of rsconnect (0.8.12). Could someone affected try a candidate fix? If it doesn't work for you, please let us know what error(s) you encounter!

  > devtools::install_github("rstudio/rsconnect", ref = "bugfix/multi-status-header")

Use that to install the patch, then restart RStudio and try publishing again.


#9

It works like a charm! Thanks for the solution


#10

No problem, glad it worked!

For anyone reading this thread afterwards, the fix has been merged, so you can just install the development copy of rsconnect to get it.

> devtools::install_github("rstudio/rsconnect")

The fix will also be in the next version of rsconnect on CRAN (0.8.13).


Fail to publish from Rstudio to Rpubs