install_user_app: Install shiny app package and dependencies

View source: R/install_user_app.R

install_user_appR Documentation

Install shiny app package and dependencies

Description

Install shiny app package and dependencies

Usage

install_user_app(library_path = NULL, repo_location = "github",
  repo = "chasemc/IDBacApp", repos = cran_like_url,
  package_install_opts = NULL)

Arguments

library_path

path to the new Electron app's R's library folder

repo_location

remotes package function, one of c("github", "gitlab", "bitbucket", "local")

repo

e.g. if repo_location is github: "chasemc/demoApp" ; if repo_location is local: "C:/Users/chase/demoApp"

repos

cran like repository package dependencies will be retrieved from

package_install_opts

further arguments to remotes::install_github, install_gitlab, install_bitbucket, or install_local

Value

App name

Examples


## Not run: 

install_user_app(repo_location = "github", 
                 repo = "chasemc/demoApp@d81fff0")
                 
install_user_app(repo_location = "github", 
                 repo = "chasemc/demoApp@d81fff0",
                 auth_token = "my_secret_token")                  
                 
install_user_app(repo_location = "bitbucket", 
                 repo = "chasemc/demoApp",
                 auth_user = bitbucket_user(), 
                 password = bitbucket_password())        
                 
install_user_app(repo_location = "gitlab", 
                 repo = "chasemc/demoApp",
                 auth_token = "my_secret_token")   
install_user_app(repo_location = "local", 
                 repo = "C:/Users/chase/demoApp",
                 build_vignettes = TRUE)                                      

## End(Not run)


chasemc/electricShine documentation built on Oct. 12, 2022, 8:50 a.m.