R#

Reproducible Discrete-Event Simulation in R#

https://pythonhealthdatascience.github.io/des_rap_book/

  • How to design and implement discrete event simulation (DES) models in R.

  • How to embed DES models inside a reproducible analytical pipeline (RAP).

  • Relevant even if not interested in DES - broader principles - e.g.,

    • How to structure research as a package

    • Environment management

    • Linting

    • Continuous integration

Testing in research#

https://pythonhealthdatascience.github.io/stars-testing-intro/

  • The basics of automated testing in R: what tests are, why they matter for reproducible research, and how they fit into your code development.

  • How to write and run tests with testthat.