mjoudy
mjoudy

Reputation: 149

rsconnect publishing API created by plumber

I have an API created by plumber in a file named lltoClass.R as follows:

#* @get/ ll.toClass
ll.toClass <- function ...

Also, according to this question I have made a file named plumber.R containing:

library(plumber)
plumber::plumb("lltoClass.R")

according to this I executed rsconnect::deployAPI(api = "./project") and it successfully deployed to my shinyapps.io account. but unfortunately only get this text on url of my api which automatically opened after completing the process of deploy:

"An error has occurred unable to launch worker: API content cannot be run on this installation of RStudio Connect. Contact your administrator."

as I have tested my api on localhost I don't think its problem is due to my code. how can I fix this problem or how can I upload my API and use it publicly?

Upvotes: 0

Views: 554

Answers (1)

Ralf Stubner
Ralf Stubner

Reputation: 26823

According to this comment and that issue on github, plumber APIs are currently not supported on shinyapps.io.

Upvotes: 1

Related Questions