app_deps | R Documentation |
the shiny app dependencies packages are checked recursively.
The c("Depends", "Imports", "LinkingTo")
DESCRIPTION files fields are checked recursively.
The required dependencies have to be installed in the local repository.
The default arguments setup is recommended.
app_deps(
path = ".",
fields = c("Depends", "Imports", "LinkingTo"),
lib.loc = .libPaths(),
local = TRUE,
base = FALSE,
description_v = FALSE,
recursive = TRUE,
repos = biocran_repos()
)
path |
|
fields |
|
lib.loc |
|
local |
|
base |
|
description_v |
|
recursive |
|
repos |
|
character
vector with dependency packages or data.frame when checking recursively.
renv
package has to be installed.
## Not run:
library(renv)
# Please update the path to the custom shiny app
app_path <- system.file("examples/04_mpg", package = "shiny")
pacs::app_deps(app_path)
pacs::app_deps(app_path, recursive = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.