revert to original
revert to original
device parameter supports character argument

Parameter `device` now supports character argument to specify which
supported
  device to use ('pdf', 'png', 'jpeg', etc.), for when it cannot be
correctly
  inferred from the file extension (for example when a temporay
filename is
  supplied server side in shiny apps)