Install pandoc from RStudio

This commit is contained in:
hadley 2015-11-10 10:44:33 -06:00
parent 11b6e82852
commit 259806d04d
1 changed files with 12 additions and 0 deletions

View File

@ -22,7 +22,19 @@ cache:
- $HOME/.ccache
install:
# Install binary pandoc from Rstudio
- export PATH="$HOME/pandoc:$PATH"
- mkdir $HOME/pandoc
- curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.3.zip
- unzip -j pandoc-1.12.3.zip pandoc-1.12.3/linux/debian/x86_64/pandoc
-d $HOME/pandoc
- chmod +x $HOME/pandoc/pandoc
- pandoc --version
# Install ruby gems
- bundle install --jobs=3 --retry=3
# Install R packages
- mkdir -p "$R_LIBS_USER"
- Rscript -e 'if (length(find.package("devtools", quiet = TRUE)) == 0L) { install.packages("devtools", repos = "http://cran.rstudio.com") }'
- Rscript -e 'devtools::install_github("hadley/devtools")'