bcgov / ssdtools

An R package to fit and plot Species Sensitivity Distributions (SSDs)
https://bcgov.github.io/ssdtools/
Apache License 2.0
31 stars 16 forks source link

ssd_plot functionality in RShiny (HTML) #160

Closed ScottCoffin closed 3 years ago

ScottCoffin commented 4 years ago

The Bug

When running RShiny on a web browser, ssd_plot does not display, and an error is present, however it displays properly when running the RShiny app from the RStudio application. Further, geom_ssd is not compatible with plotly (possibly a feature with that package).

A Reprex

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.

# insert reprex here
joethorley commented 3 years ago

@ScottCoffin - is this still an issue?

ScottCoffin commented 3 years ago

I was able to resolve this issue by implementing the ssd through ggplot() instead of calling the built-in ssd_plot() function with the package. Thank you!