rsconctdply: Deploys Multiple Shiny Apps using Configuration File

Description Usage Arguments Examples

View source: R/Rsconctdply.R

Description

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

Usage

1
rsconctdply(filedir)

Arguments

rsconctdply

Name of the function

filedir

Web or local directory path for json file

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## 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)

Rsconctdply documentation built on May 2, 2019, 2:37 a.m.