Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 928 Bytes

DEVELOPING.md

File metadata and controls

35 lines (28 loc) · 928 Bytes

Developing

Installation Requirements

We develop on Mac, and install the following dependencies:

# Mac dependencies for building PDFs and documentation
brew install qpdf
brew cask install basictex
brew install pandoc
# for building PDFs, ensure TexLive Manager contains the required packages
sudo tlmgr update --self
sudo tlmgr update --all
sudo tlmgr install titling framed inconsolata
sudo tlmgr install collection-fontsrecommended

Several R packages are also required for building:

R> install.packages(c('devtools', 'knitr', 'rmarkdown', 'roxygen2', 'testthat'))

Building betabinom:

For fully building and testing betabinom, we recommend the following:

devtools::build_vignettes()
devtools::install()
devtools::build(manual=TRUE)
devtools::check(manual=TRUE,cran=TRUE)

Contributing

After modifying any code, please run Rscript scripts/ci.R to run formatting and linting.