camaradesuk / ASySD

https://camaradesuk.github.io/ASySD/
GNU General Public License v3.0
11 stars 5 forks source link

Set shiny_progress option in dedup_citations automatically #23

Closed LukasWallrich closed 6 months ago

LukasWallrich commented 11 months ago

Hi there - I was just reading ?dedup_citations and noticed the shiny_progress option - given that this should never be set outside a Shiny app, could this be replaced by the following line in the function? That would simplify the user interface.

if (find.package("shiny") != character(0)) {
   shiny_progress <- shiny::isRunning()
} else {
  shiny_progress <- FALSE
}
kaitlynhair commented 6 months ago

Great suggestion! Now added to latest version