Given a directory content targeted for deployment, write a manifest.json into that directory describing the deployment requirements for that content.
writeManifest(
appDir = getwd(),
appFiles = NULL,
appPrimaryDoc = NULL,
contentCategory = NULL,
python = NULL,
forceGeneratePythonEnvironment = FALSE,
quarto = NULL,
image = NULL,
verbose = FALSE
)
Directory containing the content (Shiny application, R Markdown document, etc).
Optional. The full set of files and directories to be
included in future deployments of this content. Used when computing
dependency requirements. When NULL
, all files in appDir
are considered.
Optional. Specifies the primary document in a content
directory containing more than one. If NULL
, the primary document is
inferred from the file list.
Optional. Specifies the kind of content being deployed
(e.g. "plot"
or "site"
).
Optional. Full path to a Python binary for use by reticulate
.
The specified Python binary will be invoked to determine its version and to
list the Python packages installed in the environment. If python = NULL
,
and RETICULATE_PYTHON
is set in the environment, its value will be used.
Optional. If an existing
requirements.txt
file is found, it will be overwritten when this argument
is TRUE
.
Optional. Full path to a Quarto binary for use deploying Quarto
content. The provided Quarto binary will be used to run quarto inspect
to gather information about the content.
Optional. The name of the image to use when building and executing this content. If none is provided, RStudio Connect will attempt to choose an image based on the content requirements.
If TRUE, prints progress messages to the console