link_app: Link a Shiny app to shiny-server directory.

Description Usage Arguments Details Examples

Description

Link a Shiny app to shiny-server directory.

Usage

1
2
3
4
5
link_app(from = ".", to = getOption("applink_to", "/data/shiny-server"),
  link = NULL, copy = NULL, name = NULL, .Rprofile = TRUE,
  .restart = TRUE, system_setup = TRUE, key = NULL,
  exclude = character(0), app_root = getwd(), copy_in = NULL,
  quiet = FALSE, ...)

Arguments

from

the location (source directory) for the app

to

the location (destination directory) for the shiny-server

link

app files to simlink to destination app directory

copy

app files to copy to destination app directory

name

the app name

.Rprofile

logical; if TRUE, an .Rprofile file will be established in destination app directory

.restart

if TRUE, a restart.txt file will be created in the to directory

system_setup

logical; see details

key

a unique key for the app

exclude

files to exclude from both copying and symlinking

app_root

root directory; from and to are relative to this directory

copy_in

files to copy into the from directory prior to linking

quiet

don't print progress messages

...

passed to make_Rprofile

Details

By default, .libPaths is set to .libPaths()[1]. This can be manually set by passing the path as lib.

If system_setup is TRUE, the following system commands are run:

Examples

1
2
3
4
5
6
## Not run: 
link_app(".")
link_app("my_app_dir")
link_app_file("app.yaml")

## End(Not run)

kylebmetrum/linkapp documentation built on May 14, 2019, 8:21 a.m.