Skip to content

Commit

Permalink
try to fix Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Lam Ho authored and Lam Ho committed Mar 21, 2018
1 parent ba163af commit a1baeea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ install:
- wget -q -O - https://github.com/yihui/crandalf/raw/master/inst/scripts/install-pandoc | bash
- PATH=$HOME/texlive/bin/x86_64-linux:$PATH
# Install R packages
- Rscript install_texlive.R
- Rscript -e "if (!require('devtools')) install.packages('devtools')"
- Rscript -e "if (!require('covr')) devtools::install_github('jimhester/covr')"
- Rscript -e "if (!require('rmarkdown')) install.packages('rmarkdown')"
Expand Down
4 changes: 4 additions & 0 deletions R/SIR_prob.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#' @param computeMode computation mode
#' @param nThreads number of threads
#' @return a matrix of the transition probabilities
#' @note The infection rate and the removal rate of a general SIR model
#' are \code{beta*S^{powS}*I^{powI_inf}} and \code{alpha*I^{powI_rem}} respectively.
#' The parameter \code{power} is a list of \code{powS, powI_inf, powI_rem}.
#' Their default values are \code{powS = powI_inf = pwoI_rem = 1}, which correspond to the classic SIR model.
#' @examples
#' data(Eyam)
#'
Expand Down

0 comments on commit a1baeea

Please sign in to comment.