mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Install evaluate, base64enc in a script
This commit is contained in:
parent
a9788ff580
commit
7e997b114a
2 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,6 @@ addons:
|
|||
- r-packages-precise
|
||||
packages:
|
||||
- r-base-dev
|
||||
- r-cran-evaluate
|
||||
- r-cran-base64enc
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ if [[ ${PROFILE/"-Pr "} != $PROFILE ]] || [[ ${PROFILE/"-Psparkr "} != $PROFILE
|
|||
source ~/.environ
|
||||
if [[ ! -d "$HOME/R/knitr" ]] ; then
|
||||
mkdir -p ~/R
|
||||
R -e "install.packages('evaluate', repos = 'http://cran.us.r-project.org', lib='~/R')" > /dev/null 2>&1
|
||||
R -e "install.packages('base64enc', repos = 'http://cran.us.r-project.org', lib='~/R')" > /dev/null 2>&1
|
||||
R -e "install.packages('knitr', repos = 'http://cran.us.r-project.org', lib='~/R')" > /dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue