ashokkrish / episim

episim is an R Shiny app for mathematical modelling of infectious diseases
GNU General Public License v3.0
4 stars 3 forks source link

Error on initial load #132

Closed ashokkrish closed 5 months ago

ashokkrish commented 5 months ago

@bryce-carson @kle6951 @Toby-exe

Warning: Error in renderUI: object 'epi' not found
  99: select
  97: renderUI [C:\Users\ashok\Desktop\spatialEpisim2022\episim-2.0-beta/server.R#261]
  96: func
  83: renderFunc
  82: output$outputPanel
   1: shiny::runApp
image
bryce-carson commented 5 months ago

Please reinstall the ehpi package. In a prior version I forgot to export the symbol; it is now exported, and I call the symbol as epi, rather than ehpi::epi or ehpi:::epi as before. That will resolve this issue for you.

bryce-carson commented 5 months ago

This issue won't present itself to first time usere, so you're aware. When they launch the application the latest package version of ehpi will be installed.

ashokkrish commented 5 months ago

Remind me what is code to install the ehpi package on a RStudio console?

bryce-carson commented 5 months ago

Remind me what is code to install the ehpi package on a RStudio console?

It is the following (it is also in global.R, because the code is used to install the package if not already installed; like other packages, updates are manual).

Interactively, without any checks that it is already installed, the code is:

library(devtools)
install_github("bryce-carson/ehpi")