Skip to content

quarto_preview("script.R") gives 404 on "/" #167

@aronatkins

Description

@aronatkins

Given a Quarto project with a trivial _quarto.yml and a script.R, calling quarto_preview() against that script results in a 404 to the console and "Not Found" in the RStudio viewer pane.

remotes::install_github("quarto-dev/quarto-r")
...
Watching files for changes
Browse at http://localhost:6730/script.html
Stop the preview with quarto_preview_stop()
GET: / (404: Not Found)

The _quarto.yml:

project:
    title: "running a script"

The script.R:

#' ---
#' title: Palmer Penguins
#' ---

The http://localhost:6730/script.html URL printed by Quarto is correct, but RStudio visits http://localhost:6730/.

quarto-r: 1.4
quarto: 1.4.551
RStudio: 2024.04.0-daily+635

Filing here for tracking, but it may be a Quarto or RStudio issue.

Similar to rstudio/rstudio#11163

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions