OHDSI / OhdsiShinyModules

An R package containing Shiny modules used by various OHDSI Shiny apps
https://ohdsi.github.io/OhdsiShinyModules/
7 stars 11 forks source link

Reduce dependencies #323

Open jreps opened 1 month ago

jreps commented 1 month ago

The package has a lot of dependencies.

Looking at the code it should be easy to remove the following: DT, lubridate, methods, purrr, readr, RJSONIO, rlang, rmarkdown, stringi, tibble, tidyselect

Plus maybe these: scales, shinyglide, stringr, RColorBrewer

ablack3 commented 1 week ago

I get this error message when I try to deploy the cohort diagnostics app to Posit Connect.

ℹ Capturing R dependencies with renv
The following package(s) were installed from an unknown source:
- OhdsiShinyModules [3.0.0]
- ReportGenerator   [1.15.0]
renv may be unable to restore these packages in the future.
Consider reinstalling these packages from a known source (e.g. CRAN).

One thing that is a bit tricky is that we now have two packages called ReportGenerator in the list of Darwin dependencies. Can we consider removing the dependency on ReportGenerator?