Skip to content

Commit

Permalink
Add require of INLA back in
Browse files Browse the repository at this point in the history
  • Loading branch information
gareth-j committed Aug 22, 2023
1 parent d270bc6 commit d7383d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/shiny_priors.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ priors_shiny <- function(spatial_data,
time_variable,
mesh) {
require_packages(packages = "INLA")
# require(INLA)
require(INLA)
require(future)
require(promises)
future::plan(future::multisession())
Expand Down Expand Up @@ -259,7 +259,7 @@ priors_shiny <- function(spatial_data,
promise <- promises::future_promise(
{
# Without loading INLA here we get errors
# require(INLA)
require("INLA")
inlabru::bru(formula_local,
data = measurement_data_local,
family = "poisson",
Expand Down

0 comments on commit d7383d9

Please sign in to comment.