I am trying to publish in R and I encounter the error message below. can anyone help?
Error in if (isUpdate && (result$status == 200)) succeeded <- TRUE else if (result$status == :
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
jrlewi
December 7, 2018, 7:50pm
2
Hi @iabubakar ,
I think it would help if you provided a minimal reproducible example ([reprex])(FAQ: What's a reproducible example (`reprex`) and how do I do one? ).
The first error often occurs if there is a problem evaluating the condition of the if statement.
Are you sure you want to share your tokens in plain text?
it was a mistake. I have to find a way of removing it
There is a pencil logo underneath your post. You can use it to edit your message.
However, I suggest that you invalidate tokens that you've posted anyway, just to be safe.
Thank you very much. Many thanks for waking me up
jcblum
December 10, 2018, 11:56pm
9
iabubakar:
Error in if (isUpdate && (result$status == 200)) succeeded <- TRUE else if (result$status == :
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
This looks like the same problem that's being discussed over here:
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
system
Closed
January 1, 2019, 12:05am
10
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.