Open Billyjac2002 opened 1 month ago
Is this a new problem (i.e., have you successfully used saveWidget()
on a tagList()
before)?
It would be great if saveWidget()
just worked with shiny.tag
or shiny.tag.list
objects, but I believe it's currently limited to htmlwidget
objects.
That said, you can save the tagList()
to html with htmltools::save_html()
(which doesn't have selfcontained = TRUE
, but that's another known issue):
htmltools::save_html(
tagList(minimal_html, map),
html_file_minimal,
)
I am encountering an error when trying to save a widget using the
saveWidget
function from thehtmlwidgets
package. The error message is: Error in .getNamespace(pkg) : invalid type/length (symbol/0) in vector allocationThis error occurs even with minimal HTML content and different widgets.
Reproducible Example