resolve_app_dependencies: Resolve application dependencies

View source: R/dependencies.R

resolve_app_dependenciesR Documentation

Resolve application dependencies

Description

Top-level function that detects, merges, and returns the final list of package dependencies for an app. Called from export() for native app types.

Usage

resolve_app_dependencies(appdir, app_type, runtime_strategy, config)

Arguments

appdir

Character string. Path to the app directory.

app_type

Character string. The app type ("r-shiny" or "py-shiny").

runtime_strategy

Character string. The resolved runtime strategy. Returns NULL when "shinylive", since shinylive manages its own deps.

config

List. The effective configuration.

Value

List with packages, language, and repos, or for Python requirements and index_urls; NULL for the shinylive strategy.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.