Description Usage Arguments Details Value
Install and load an R package
1 | add_packages(pkg = NULL, repo = NULL, pub = FALSE)
|
pkg |
|
repo |
|
pub |
|
If repo = NULL
the package will be installed from the CRAN. Otherwise, repo
is a character string that referring to the GitHub account in which the package is located.
When publishing apps on shinyapps.io or shinyServer, attempting to install.packages
will result in an error. Calls to install.packages
should not be included within an app.
A printed shiny app
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.