First install devtools:
install.packages("devtools")
Then install the contest package:
devtools::install_github("johnWilshire/contest")
Then instlal Remake:
To compile the paper we use remake. The easiest way to install remake is via drat:
devtools::install_github("richfitz/remake")
Compilation requires a reasonably complete LaTeX installation (e.g. MacTeX).
We use the non-CRAN packages callr. This can be installed by remake:
remake::install_missing_packages()
To compile everything, run
remake::make()