Skip to content
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

No warning when htmlwidget uses head #162

Open
dmurdoch opened this issue Mar 11, 2023 · 1 comment
Open

No warning when htmlwidget uses head #162

dmurdoch opened this issue Mar 11, 2023 · 1 comment

Comments

@dmurdoch
Copy link

This code:

warning('Inserting HTML strings into <head> is currently not supported')

looks as though a warning should be issued when an htmlwidget object attempts to put code in the HTML header. That's what rgl currently does, and it just fails to display with no warning.

I've modified rgl (currently in the devel version 1.0.15) to put the shader code elsewhere as a workaround. In case some other htmlwidget uses the header it would make debugging easier if the warning showed up.

@flying-sheep
Copy link
Member

Any idea why the warning doesn’t show up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants