Skip to content

Commit

Permalink
fix file.paths
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Nov 15, 2024
1 parent 84e5e81 commit d2a1fdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/latent_individual.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ epidist_stancode.epidist_latent_individual <- function(data,

stanvars_functions <- brms::stanvar(
block = "functions",
scode = .stan_chunk("latent_individual/functions.stan")
scode = .stan_chunk(file.path("latent_individual", "functions.stan"))
)

family_name <- gsub("latent_", "", family$name)
Expand Down Expand Up @@ -173,17 +173,17 @@ epidist_stancode.epidist_latent_individual <- function(data,

stanvars_parameters <- brms::stanvar(
block = "parameters",
scode = .stan_chunk("latent_individual/parameters.stan")
scode = .stan_chunk(file.path("latent_individual", "parameters.stan"))
)

stanvars_tparameters <- brms::stanvar(
block = "tparameters",
scode = .stan_chunk("latent_individual/tparameters.stan")
scode = .stan_chunk(file.path("latent_individual", "tparameters.stan"))
)

stanvars_priors <- brms::stanvar(
block = "model",
scode = .stan_chunk("latent_individual/priors.stan")
scode = .stan_chunk(file.path("latent_individual", "priors.stan"))
)

stanvars_all <- stanvars_version + stanvars_functions + stanvars_data +
Expand Down

0 comments on commit d2a1fdc

Please sign in to comment.