app_deps {pacs} | R Documentation |
The shiny app dependencies
Description
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.
Usage
app_deps(
path = ".",
fields = c("Depends", "Imports", "LinkingTo"),
lib.loc = .libPaths(),
local = TRUE,
base = FALSE,
description_v = FALSE,
recursive = TRUE,
repos = biocran_repos()
)
Arguments
path |
|
fields |
|
lib.loc |
|
local |
|
base |
|
description_v |
|
recursive |
|
repos |
|
Value
character
vector with dependency packages or data.frame when checking recursively.
Note
renv
package has to be installed.
Examples
## 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)