Skip to content

Commit

Permalink
Do not explicitly namespace epiparameter
Browse files Browse the repository at this point in the history
To avoid loading it (and its dependencies) before renv::use() even got the chance to run, thus creating version conflicts between already loaded packages and requested versions.
It seems for some reason that explicitly namespaced packages are automatically loaded in Rmd documents
  • Loading branch information
Bisaloo committed Feb 29, 2024
1 parent 50c3390 commit 8d51fee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ discretized Gamma.
## Results

```{r, eval = params$use_epiparameter_database}
si_epidist <- epiparameter::epidist_db(
si_epidist <- epidist_db(
disease = params$disease_name,
epi_dist = "serial_interval",
single_epidist = TRUE,
Expand All @@ -404,7 +404,7 @@ si_epidist <- epidist(
```

```{r}
si <- epiparameter::discretise(si_epidist)
si <- discretise(si_epidist)
si_x <- seq(1L, to = quantile(si, 0.999), by = 1L)
```

Expand Down

0 comments on commit 8d51fee

Please sign in to comment.