Hi Experts here. Earlier I was able to publish R markdown file similar to R shiny file(Click on Publish button). But today I got this message and i am trying to connect but it is not.I am getting below pop up to connect to R studio connect. Below are the steps i follow to publish
Step 1 (Post clicking publish button)
Step 2 (Post clicking "Publish just this document)
I am getting stuck at step 2. Earlier I never used to get this pop up. Please guide
This pop up means your RStudio is no more connected to RStudio Connect.
You need to provide in the popup the url of your RStudio Connect Server. Do you have it ?
This will then ask you to authenticate using your RStudio Connect account. After that, you RStudio IDE will know how to connect with your account to the publishing server and it will all be good!
I guess you use shinyapps.io for shiny apps, but did you already publish a document somewhere ?
RStudio Connect is pro product, and I assumed you had one. But you may not...
Shinyapps.io is only to publish shiny applications I think. You can't publish static Rmd file.
I guess you could have published Rmd with runtime: shiny as this is a shiny apps build using Rmarkdown container. But this is different than static html document.
Can you share the yaml header of your new file ?
Are you sure the yaml is correct ? It is very sensitive to indentation.
Also runtime: shiny must be put at the first level of the yaml.
You can compare with the published example you shared
FWIW I can reproduce this issue, I'm not longer able to publish runtime: shiny Rmd documents to shinyapps.io, since this was working before on the same RStudio version, I suppose it has to do with a package update
Perfect, Now I am able to see after adding runtime: shiny at the top. Earlier it was at the bottom so that was the issue. But now while publishing I get this error
Line 34 paths should be to files within the project directory
My Line 34 is and I have also included readxl package
You can't publish a document that has a file path that is one you personal drive, on your computer.
Everything must be published and accessible from the document on the serveur.
This is weird, I was trying to publish the same sample Rmd file I had published before for previous vinayprakash808's topics, I don't understand why it was working before but I suppose it's not important now.
If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: