-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webr support for {gt} package #431
Comments
@rainer-rq-koelle I am not on the official team, but I do have some experience with The This is a challenging issue, but there might be some hope. I started to explore how we might resolve with
|
@timelyportfolio is correct. Unfortunately webR does not currently support displaying Saying that... I am right now working on significantly improving webR and Quarto integration, including support for displaying HTML widgets from webR in Quarto documents, without any of the overhead work mentioned above. Here is a preview: This new framework is not yet ready for release, but I'll be continuing to work on it and will release more information about it in the coming weeks. |
@georgestagg this looks amazing!! Please let me know how I can help. I am more than happy to support in any way possible. |
Closing as this should now work in the REPL. The new extension I mention above for use in Quarto should hopefully be available by the end of this week. |
Congrats! I am just fascinated by what can be done with wasm/webr. I embrace tinkering with it and see a huge potential for teaching/demoing "many things R coding" related. However, I admit that the "magic of its working" is outside my comprehension.
Following some of the tutorials/introductory material, I wanted to use webr to showcase {gt}.
When setting up the Quarto document and rendering it, I hoped that the following would work like a charm. I have failed to find any meaningful pointer(s).
Question on stackoverflow: https://stackoverflow.com/questions/78534930/webr-and-gt-throws-error-error-browser-must-be-a-non-empty-character-stri
The error message thrown from the web-r chunk output reads:
Error: 'browser' must be a non-empty character string
Quarto yaml:
engine: knitr
filters:
webr:
packages: ['dplyr','gt']
And then let's trial {gt}
Calling
?gt
in the webr-container on a rendered webpage results in the standard (embedded) help page for {gt}. Thus, the package {gt} appears to be loaded and available in the {webr} session.Could someone put me on the right track? Thanks.
The text was updated successfully, but these errors were encountered: