I would appreciate some help on migrating a book from bookdown.org to the new Posit Connect Cloud site. The book (gitbook format) builds correctly in RStudio but when I attempt to publish or republish to the new site, only the first couple of sections appear and I get a message "attempt to apply non-function". How do I track down the cause of this error? The first chapter that fails to load starts with \mainmatter. Are LaTex commands a problem?
I apologize in advance for my lack of understanding of the process, but sure could use a little help!
Default is to render locally, and publish only the HTML output. if you want to render online, you need to follow connect cloud step to provide a manifest. See Render on Connect Cloud FAQ item and maybe others.
If you can share more details, I'll try to help further.
I am rendering locally and using bookdown::publish_book(). The local version of the book opens in a new RStudio window and is complete. If I click the button for "Open in Browser", the Browser version is also complete. It is only when I attempt to Republish to Posit Connect Cloud that I get the error (hopefully you can see the image!). Thanks for your help.
It seems an issue with the RStudio IDE publishing feature. I don't know if the RStudio IDE supports posit cloud
Connect cloud is not exactly like a connect server I believe, and I find this issue
In the documentation I linked in my previous post, we details the functions to use. If you use bookdown::publish_book() that should solve it. Did you try ?