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 5b5e516 commit e58fd12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,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 @@ -418,7 +418,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 e58fd12

Please sign in to comment.