epiverse-trace / episoap

[Not published - under active development] A Store of Outbreak Analytics Pipelines Provided as Rmarkdown Report Templates
https://epiverse-trace.github.io/episoap/
Other
4 stars 2 forks source link

Report not rendering #90

Closed joshwlambert closed 1 year ago

joshwlambert commented 1 year ago

After creating an rmarkdown documentation from the {episoap} transmissibility template, I get an error when trying to knit the report. The error reads:

Error in library(episoap): there is no package called 'episoap'

I suspect this issue is due to {episoap} not being specified in the renv lock file (renv::use()).

joshwlambert commented 1 year ago

After adding "epiverse-trace/episoap", to renv::use(), I get another error:


Error in (function (pkg, lib.loc = NULL) :
  there is no package called 'EpiEstim'

This error is due to gratefull:cite_packages() not being able to find {EpiEstim}.

joshwlambert commented 1 year ago

The packages used in each of the rmdchunks are required in the skeleton in order for the template to render for me locally.