Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Unable to render shinylive examples #57

@DivadNojnarg

Description

@DivadNojnarg

@christophsax: a summary of my investigations so far.

The shinyMobile blog post isn't rendering anymore on CICD and locally. Locally, the examples don't show any shinylive app but the code instead.

Screenshot 2024-07-29 at 22 44 42

What I have locally after updating shinylive R package (now):

shinylive::assets_info()
shinylive R package version: 0.2.0
shinylive web assets version: 0.5.0
...

When I render the qmd doc I get:

GET: /posts/2024-05-13-shinyMobile-2.0.0/index.html
  /posts/2024-05-13-shinyMobile-2.0.0/shinylive.js (404: Not Found)
GET: /posts/2024-05-13-shinyMobile-2.0.0/index.html
  /posts/2024-05-13-shinyMobile-2.0.0/shinylive.js (404: Not Found)

When shinylive is used with embed-resources: true, the original code chunk is shown in full instead of the shinylive app.

Weird because toggling this option does not change anything.

  • Besides, I locally tried with an older quarto version: 1.3.450. shinylive examples render but other errors appear.
  • Not a cache issue on CICD as this also fails locally.

All in all, this seems to be a collection of individual changes causing this issue: shinylive quarto extension, quarto, shinylive R package, ...


Extra remarks:

  • Our CICD workflow pulls the latest quarto: 1.6.x. Maybe we should fix it to always get predictable output.

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