'package' must be of length 1 : I have created an object of class shiny tag list and it is browsable as an animation in the viewer pane of Rstudio. However the file cannot be saved locally as an HTML file due to an error

Expected : HTML output file similar to what was seen on the viewer pane
Actual : Error message : Error in system.file(config, package = package) : 
  'package' must be of length 1

