You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature brings support for running Shiny for R apps. The extension activates for R files named app.R, ui.R, server.R, global.R, app-*.R or *-app.R. Clicking the play button for such an app should run the app and preview it in the location determined by shiny.previewType (internal, external or none).
We need to check that this part of the extension works in the following environments:
Test that we can save single and multiple-file apps from Shinylive.
Single-file apps prompt users to pick a path to a file, e.g. examples/app.py. VS Code will prompt the user if they want to overwrite an existing file.
Multi-file apps prompt users to pick a non-existent directory.
Apps should roundtrip: create a shinylive link, choose to copy it, then save the app from the shinylive link.
Test hosts: both shinylive.io (released shiny) and posit-dev.github.io/shinylive (dev shiny)
Test output locations: open in browser and copy
Test modes: app or editor
The above settings can be fixed by choosing default values in the settings UI.
For the purposes of testing the extension, a Shinylive link is successfully created when opening the app in editor mode contains the same code as seen locally. There are many reasons why an app my fail to actually run in Shinylive; if the code and files you intended to send are indeed included in the editor, then the link was successfully created. Similarly, saving a Shinylive app locally should create files containing the expected code.
The text was updated successfully, but these errors were encountered:
Testing is complete and was performed across MacOS, Windows 11, Ubuntu 22.04, Workbench and GitHub Codespaces.
Tested whether app.R, app-*.R can be previewed either internally or externally or None (no preview)
In addition, preview of already supported app.py was also verified.
The settings in the extension was overriden to change the preview location, the value for App or Editor mode and Open or copy the link across the above mentioned locations/devices.
Finally, creating shinylive links for single or multiple files from VS code and vice-versa was also tested.
Two major features were added for rc-v0.2.0:
Follow-up issues found in this process:
Shiny for R apps
This feature brings support for running Shiny for R apps. The extension activates for R files named
app.R
,ui.R
,server.R
,global.R
,app-*.R
or*-app.R
. Clicking the play button for such an app should run the app and preview it in the location determined byshiny.previewType
(internal, external or none).We need to check that this part of the extension works in the following environments:
cmd.exe
and Bash terminal environents.Shinylive
examples/app.py
. VS Code will prompt the user if they want to overwrite an existing file.For the purposes of testing the extension, a Shinylive link is successfully created when opening the app in editor mode contains the same code as seen locally. There are many reasons why an app my fail to actually run in Shinylive; if the code and files you intended to send are indeed included in the editor, then the link was successfully created. Similarly, saving a Shinylive app locally should create files containing the expected code.
The text was updated successfully, but these errors were encountered: