Skip to content

HTML/extras created on-disk during file-dependency probing #644

@aronatkins

Description

@aronatkins
  1. Create a new directory/project.

  2. Populate that directory

    bookdown::create_bs4_book(".")
  3. Add a code-block to index.Rmd so package dependencies are discovered.

    ```{r, include = FALSE}
    library(downlit)
    library(bslib)
    library(xml2)
    ```
  4. Render that book locally.

    rmarkdown::render_site(".")
  5. 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),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions