View source: R/dependencies-python.R
| resolve_py_dependencies | R Documentation |
Reads the app's requirements and merges them with the configured
packages. Stops when a requirement points at a URL, a version control
repository, or a path, since the built app installs its packages by name
from a package index. Warns about pip options in requirements.txt, which
are not read, and about packages that [tool.uv.sources] takes from a uv
index.
resolve_py_dependencies(
appdir,
config_deps,
reqs = read_py_requirements(appdir)
)
appdir |
Character string. Path to the app directory. |
config_deps |
List from config$dependencies. |
reqs |
List. The app's requirements, as |
When dependencies.auto_detect is off the app's requirements are not
installed, so they are not read or checked either.
List with packages, requirements, and index_urls, as
merge_py_dependencies() returns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.