Commit ccecedb5 authored by Patrick Kimber's avatar Patrick Kimber

Install 'shiny' R package from CRAN

parent 1137491c
{% set r = pillar.get('r', None) %}
{% if r %}
base:
r-base:
pkgrepo.managed:
- humanname: R-cran35
- name: deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
......@@ -14,4 +14,12 @@ base:
- name: r-base
- refresh: True
# note: this takes a very long time to compile
install_shiny:
cmd.run:
- name: R -e "install.packages('shiny', repos='https://cran.rstudio.com/')"
- unless: R --silent -e "packageVersion('shiny')" | grep "\["
- require:
- pkg: r-base
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment