The BayesPharma website package contains a collection of R tools for analyzing pharmacology data using Bayesian statistics.
The basic workflow follows the package development practices described in the R Packages book
- Check out the repository using password-protected SSH keys
git clone https://github.com/maomlab/BayesPharma.git
cd BayesPharma
- Build the package
make clean
make deps
make build
make install
- The edit and re-load from during development
devtools::document()
devtools::load_all()
The manuscript is a multi-part Quarto document in vignettes_src/manuscript
Building the manuscript and vignettes requires pandoc, which is available through Rstudio. But if you are not using Rstudio you please follow the instructions here.
- We have used Paperpile to organize the references, to update
make update_references
- To build the manuscript
make manuscript
To build the sections into the website
- Build the website
make build_site
To see the site locally, navigate to BayesPharma/docs/index.html
- Run all the tests
make test