Type: Package
Title: Deploys Multiple 'Shiny' Apps using Configuration File
Version: 0.1.3
Author: Sai Chimata
Maintainer: Sai Chimata <schimata@yotabitesllc.com>
Depends: R (≥ 3.0.1)
Imports: rjson, rsconnect, dplyr
Description: Provides a tool for mass deployment of shiny apps to 'RStudio Connect' or 'Shiny Server'. Multiple user accounts and servers can be configured for deployment.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.1
NeedsCompilation: no
Packaged: 2018-12-11 16:33:02 UTC; schimata
Repository: CRAN
Date/Publication: 2018-12-22 01:10:04 UTC

Deploys Multiple Shiny Apps using Configuration File

Description

Deploys multiple apps (App1, App2,...AppN) to multiple user accounts and server locations on JSON file.

Usage

rsconctdply(filedir)

Arguments

rsconctdply

Name of the function

filedir

Web or local directory path for json file

Examples


## Not run: 

#Files on Web
rsconctdply("https://api.myjson.com/bins/o8k2s")

#Files available locally
rsconctdply("~/rconnect_dir.json")

Json file Format:
sample file name with structure: "rconnect_dir.json"

{
  "App1": {
    "Server_url": "https://example1.com:443",
    "Server_NAME": "example1",
    "account": "user1",
    "appDir": "~/location1/"
  },
  "App2": {
    "Server_url": "https://example2.com:123",
    "Server_NAME": "example2",
    "account": "user2",
    "appDir": "~/location2/"
  }
}

## End(Not run)