inst/examples/README.md

Dockerfile for earlywarning package

To run any of the analyses from this paper, install docker

For instance, we can run the simulation.Rmd script using:

docker run -w /earlywarning/inst/examples -d \
  --name earlywarning cboettig/earlywarning \
  Rscript -e 'rmarkdown::render("simulation.Rmd")'

and simply replace simulation.Rmd with chemostat.Rmd or glaciation.Rmd to run the corresponding analysis.

Copy the resulting (stand-alone) html files to the host for viewing:

docker cp earlywarning:/earlywarning/inst/examples/simulation.html .


cboettig/earlywarning documentation built on May 13, 2019, 2:07 p.m.