-
Create a new directory/project.
-
Populate that directory
bookdown::create_bs4_book(".")
-
Add a code-block to index.Rmd so package dependencies are discovered.
```{r, include = FALSE}
library(downlit)
library(bslib)
library(xml2)
```
-
Render that book locally.
rmarkdown::render_site(".")
-
Attempt to deploy that directory.
rsconnect::deploySite(
siteDir = ".",
siteName = "BOOK-TITLE",
account = "ACCOUNT_NAME",
server = "SERVER_NAME",
render = "server")
The deployed bundle contains a libs directory and *.html files that were created as a side-effect of running the packrat snapshot against the directory. These files cause downstream rendering problems.
These files are created by the call to rmarkdown::render:
|
rmarkdown::render(file, output_file = outfile, quiet = TRUE), |
Create a new directory/project.
Populate that directory
Add a code-block to
index.Rmdso package dependencies are discovered.Render that book locally.
Attempt to deploy that directory.
The deployed bundle contains a
libsdirectory and*.htmlfiles that were created as a side-effect of running the packrat snapshot against the directory. These files cause downstream rendering problems.These files are created by the call to
rmarkdown::render:packrat/R/dependencies.R
Line 665 in 3df1d62