View source: R/install_packages.R
install_packages | R Documentation |
Install Packages in a Existing Conda Environment
install_packages(
packages,
env_name = "condathis-env",
channels = c("bioconda", "conda-forge"),
additional_channels = NULL,
verbose = "silent"
)
packages |
Character vector with the names of the packages and version strings if necessary. |
env_name |
Name of the Conda environment where the packages are going to be installed. Defaults to 'condathis-env'. |
channels |
Character vector. Names of the channels to be included. By default 'c("bioconda", "conda-forge")' are used for solving dependencies. |
additional_channels |
Character. Additional Channels to be added to the default ones. |
verbose |
Character string specifying the verbosity level of the function's output. Acceptable values are:
|
An object of class list
representing the result of the command
execution. Contains information about the standard output, standard error,
and exit status of the command.
## Not run:
condathis::with_sandbox_dir({
condathis::create_env(
packages = "fastqc",
env_name = "fastqc-env"
)
# Install the package `python` in the `fastqc-env` environment.
# It is not recommended to install multiple packages in the same environment,
# # as it defeats the purpose of isolation provided by separate environments.
condathis::install_packages(packages = "python", env_name = "fastqc-env")
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.