install_deps_app.Rd
The dependencies are obtained by traversing the upstream and downstream repositories
in the package's staged dependencies yaml files starting from project
.
install_deps_app(
default_repo = NULL,
default_host = "https://github.com",
default_ref = "main",
fallback_branch = "main",
run_gadget = TRUE,
run_as_job = TRUE,
verbose = 1,
install_external_deps = TRUE,
renv_profile = NULL,
upgrade = "never",
...
)
(character
) the repository name for the dependency graph to be
created for, for example, "openpharma/stageddeps.water"
.
If NULL
this must be entered by app user and can always be changed by the user.
(character
) the host for the repository for the dependency graph to
be created for by default "https://github.com"
. If NULL
this must be entered by app
user and can always be changed by the user.
(character
) default ref (branch/tag), see also the parameter
ref
of \link{dependency_table}
. If NULL
this must be entered by app user
and can always be changed by the user.
(character
) the default branch to try to use if
no other matches found
(logical
) whether to run the app as a gadget
(logical
) whether to run the installation as an RStudio job.
verbosity level, incremental; from 0 (none) to 2 (high)
logical to describe whether to install
external dependencies of package using remotes::install_deps()
(or renv::install()
if
inside an renv environment) .
(character
) the name of the renv
profile of the renv.lock
files
to be included from the repos. The standard renv.lock
file uses the default NULL
argument here.
argument passed to remotes::install_deps()
, defaults to 'never'
. Ignored
if inside an renv
environment.
Additional args passed to remotes::install_deps()
. Ignored
if inside an renv
environment.
shiny.app
or value returned by app (executed as a gadget)
if (FALSE) {
install_deps_app("openpharma/stageddeps.food")
}