Learn R Programming

electricShine (version 0.0.0.9000)

install_user_app: 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

Run this code
# NOT RUN {
# }
# 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)                                      
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab