Creating htmlwidget in RStudio

To set up required packages to create htmlwidget install.packages("htmlwidgets") install.packages("devtools") Scaffolding will provide a template (basic structure) for a widget development library(devtools) create("my_widget") htmlwidgets::scaffoldWidget("my_widget") document() # Update documentation build() #…