ropensci / popler

The R package to browse and query the popler database
https://docs.ropensci.org/popler
MIT License
8 stars 7 forks source link

Find optional ways to suppress messages from `get_data` #31

Closed AldoCompagnoni closed 7 years ago

AldoCompagnoni commented 7 years ago

Right now, get_data returns two informational messages that may want to

  1. "auto-disconnect" messages linked to the postgreSQL connection. I propose to get rid of this message entirely.
  2. The message printed whenever users download data ("your downloaded project n..." ect. ). We might decide to provide a way to silence this message.
bochocki commented 7 years ago

I've written a function, db_close(connection, quiet=T) to silently close the postgreSQL connection. This gets rid of the "auto-disconnect" messages.