In order to publish
bookdownsuccessfully to RStudio Connect, RStudio has to identify that you're working with a book not a regular R Markdown document.
bookdownto RStudio connect, make sure that your primary Rmd file is called
index.Rmdand contains this line in the YAML:
RStudio will recognize that you are dealing with a book, and two things will happen:
- The Build Pane will appear in RStudio with the option to build the book
- During push-button publishing, the dialogue will say "Publish website with source code" instead of "Publish document with source code", assuming you are using the default gitbook output.
A similar process is used to publish R Markdown websites.