Forge Home

rshiny

Module for installing shiny server from RStudio

5,475 downloads

5,475 latest version

2.4 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.2 (latest)
released May 5th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=2.7.20 <5.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'skydivemarius-rshiny', '1.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add skydivemarius-rshiny
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install skydivemarius-rshiny --version 1.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: r, shiny, rstudio

Documentation

skydivemarius/rshiny — version 1.1.2 May 5th 2017

puppet-r-shiny

Puppet module for provisioning shiny server from RStudio

Usage

include ::shinyserver

Managed repository

By default the module is using the upstream repository of RStudio (download3.rstudio.org).

class { '::shinyserver':
  manage_repo => true,
}

Not managed repository

In this case the module assumes, that an RPM with the name "shiny-server" is already available in the system repositories.

class { '::shinyserver':
  manage_repo => true,
}

Internal R packages

All required internal R packages are installed via the module neilhanlon/r, which is using by default the CRAN repositories.

Parameters

  • port: HTTP port shiny is listening on (Default: 3838)
  • site_directory: Root directory of all Shiny apps (Default: /srv/shiny-server)
  • log_directory: Root directory of all logs (/var/log/shiny-server)
  • directory_index: When a user visits the base URL rather than a particular application, an index of the applications available in this directory will be shown or not. (Default: on)
  • mange_repo: Use official RStudio upstream repository for installation
  • version: Shiny server version, only relevant when mange_repo=true (Current default: 1.5.3.838)