Closed wch closed 2 years ago
@jbkunst do you happen to remember why we have these two versions?
In shinytest, there is an inst/htmlwidgets/diffviewer.js and inst/htmlwidgets/diffviewer.yaml. It's there because there is a call to htmlwidgets::createWidget(name = "diffviewer")
, and that expects the .js and .yaml file to be there.
In the diffviewer package, there is a call to createWidget(name = "visual_diff")
, and there are the corresponding files inst/htmlwidgets/visual_diff.js and inst/htmlwidgets/visual_diff.yaml. There is not a call to createWidget(name = "diffviewer")
in this package.
I think the inst/htmlwidgets/diffviewer.js and yaml files in this package are probably left over from the migration, but I don't know for sure.
Closes #10. This PR removes inst/htmlwidgets/diffviewer.js and inst/htmlwidgets/diffviewer.yaml. I believe those files are unused (I tested with
visual_diff()
andvisual_diff_render()
in a Shiny application.