Skip to content

No warning when htmlwidget uses head #162

@dmurdoch

Description

@dmurdoch

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.

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