View source: R/python-requirements.R
requirements_write | R Documentation |
This is a helper function that it is meant to be used for deployments
of the document or application. By default, deploy_databricks()
will run this
function the first time you use that function to deploy content to Posit Connect.
requirements_write(
envname = NULL,
destfile = "requirements.txt",
overwrite = FALSE,
...
)
envname |
The name of, or path to, a Python virtual environment. |
destfile |
Target path for the requirements file. Defaults to 'requirements.txt'. |
overwrite |
Replace the contents of the file if it already exists? |
... |
Additional arguments passed to |
No value is returned to R. The output is a text file with the list of Python libraries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.