Skip to content

Malformed bookdown index hangs UI #8954

Closed

Description

@mirh

System details

RStudio Edition : Desktop
RStudio Version : 1.4.1103
OS Version      : Windows 10
R Version       : 4.0.3

Steps to reproduce the problem

  1. Create a bookdown document
  2. Edit index.rmd, and put library(bookdown) before the YAML header
  3. Reload the project

Describe the problem in detail

The UI (or whatever the "interface viewport" could be called) becomes grey and FUBAR

Describe the behavior you expected

Just about anything that doesn't make the program unusable. Maybe the bad file should be outright rejected, maybe the wrong part could just be skipped and a big error printed, but I shouldn't have to use task manager to kill the whole program.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting a RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. kevinushey commented on Feb 11, 2021

    @kevinushey
    Collaborator

    Thanks for the bug report! It looks like this is actually a bug in the rmarkdown package -- I've filed an associated issue here:

    rstudio/rmarkdown#2043

    I think this issue is more easily fixed on the rmarkdown side, but will keep this issue open just in case.

  2. mirh commented on Feb 11, 2021

    @mirh
    Author

    Thank you for your way more comprehensive and precise bug report.

    Though I'm wondering if "waiting for input" is even a good reason for the whole program to pass out away.

  3. yihui commented on May 18, 2021

    @yihui
    Contributor

    This has been fixed in the development version of rmarkdown:

    remotes::install_github('rstudio/rmarkdown')

    Thanks for the report!

  4. mirh commented on May 18, 2021

    @mirh
    Author

    Nice then I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions