Document
Quarto document will not render · Issue #8258 · quarto-dev/quarto-cli · GitHub

Quarto document will not render · Issue #8258 · quarto-dev/quarto-cli · GitHub

Bug description While run the demonstration provide by the Quarto website with a qmd document about palmer penguin in r studio on Windows I is receiv

Related articles

How to Set Up a Node on Mysterium Network and Earn Passively Taste-Safe Cloud Dough Best Free VPN For Edge [2024] Dreamy Cloud Art Examples Will Uplift Your Space- Angela Cameron RG-EG3230 Unified Security Gateway

Bug description

While run the demonstration provide by the Quarto website with a qmd document about palmer penguin in r studio on Windows I is receive receive an error .

==> quarto preview hello.qmd --to html --no-watch-inputs --no-browse

Error in inDL(x, as.logical(local), as.logical(now), ...) : 
  unable to load shared object 'C:/Users/jrthe/AppData/Local/R/win-library/4.3/rlang/libs/x64/rlang.dll':
  LoadLibrary failure:  The specified procedure could not be found.
Calls: :: ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load -> inDL
Execution halted
R scripting front-end version 3.6.1 (2019-07-05)

Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/

No report renders. The following is the session info for R studion:

> sessionInfo()
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8    LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                           LC_TIME=English_United States.utf8    

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.3.2  cli_3.6.1       tools_4.3.2     rstudioapi_0.14 knitr_1.42      xfun_0.39      

And the stack trace on windows in powershell as requested in the bug report guide:

PS C:\Users\jrthe> $ENV:QUARTO_PRINT_STACK="true"
PS C:\Users\jrthe> quarto render document.qmd
ERROR: No valid input files passed to render

Stack trace:
    at Command.fn (file:///C:/Users/jrthe/AppData/Local/Programs/Quarto/bin/quarto.js:81959:15)
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async Command.execute (file:///C:/Users/jrthe/AppData/Local/Programs/Quarto/bin/quarto.js:8102:13)

r studio version :

> RStudio.Version()
$citation
To cite RStudio in publications use:

  Posit team (2023). RStudio: Integrated Development Environment for R. Posit Software, PBC, Boston, MA. URL
  http://www.posit.co/.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {RStudio: Integrated Development Environment for R},
    author = {{Posit team}},
    organization = {Posit Software, PBC},
    address = {Boston, MA},
    year = {2023},
    url = {http://www.posit.co/},
  }

$mode
[1] "desktop"

$version
[1] ‘2023.12.0.369’

$long_version
[1] "2023.12.0+369"

$release_name
[1] "Ocean Storm"

Steps to reproduce

  1. install late version of R Windows .
  2. Install latest version of RStudio Windows.
  3. Install lastest version of Quarto for Windows.
  4. Installed and loaded packages.
  5. Downloaded the palmer penguins qmd.
  6. Clicked Render.
---
title: "Hello, Quarto"
format: html
editor: visual
---

{r}
#| label: load-packages
#| include: false

library(tidyverse)
library(palmerpenguins)

Meet Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org/.

Meet the penguins

The penguins data from the [palmerpenguins](https://allisonhorst.github.io/palmerpenguins) package contains size measurements for r nrow(penguins) penguins from three species observed on three islands in the Palmer Archipelago, Antarctica.

The plot below shows the relationship between flipper and bill lengths of these penguins.

{r}
#| label: plot-penguins
#| warning: false
#| echo: false

ggplot(penguins, 
       aes(x = flipper_length_mm, y = bill_length_mm)) +
  geom_point(aes(color = species, shape = species)) +
  scale_color_manual(values = c("darkorange","purple","cyan4")) +
  labs(
    title = "Flipper and bill length",
    subtitle = "Dimensions for penguins at Palmer Station LTER",
    x = "Flipper length (mm)", y = "Bill length (mm)",
    color = "Penguin species", shape = "Penguin species"
  ) +
  theme_minimal()

Expected behavior

I is expecting was expect a render report to show up as indicate by the demonstration video under getting start with Quarto . No report render .

Actual behavior

Background tabs open in R Studio and process begins, but returns error.

Your environment

R Version 4.3.2
Platform x86_64-w64-mingw32/x64 (64_bit)
run Under ; Windows 11 x64 ( build 22621 )
r studio version : Ocean Storm 2023.12.0+369, desktop

Quarto check output

C:\Users\jrthe\Documents\quarto_practice>quarto check
Quarto 1.4.542
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.4.542
      Path: C:\Users\jrthe\AppData\Local\Programs\Quarto\bin
      CodePage: unknown

[>] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[>] Checking LaTeX....................OK
      Tex:  (not detected)

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.11.5 (Conda)
      Path: C:/Users/jrthe/anaconda3/python.exe
      Jupyter: 5.3.0
      Kernels: ir, python3

[>] Checking Jupyter engine render....OK

(|) Checking R installation...........R scripting front-end version 3.6.1 (2019-07-05)
[>] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/