View source: R/list_packages.R
list_packages | R Documentation |
This function retrieves a list of all packages installed in the specified Conda environment. The result is returned as a tibble with detailed information about each package, including its name, version, and source details.
list_packages(env_name = "condathis-env", verbose = "silent")
env_name |
Character. The name of the Conda environment where the tool will be run. Defaults to |
verbose |
Character string specifying the verbosity level of the function's output. Acceptable values are:
|
A tibble containing all the packages installed in the specified environment, with the following columns:
The base URL of the package source.
The build number of the package.
The build string describing the package build details.
The channel from which the package was installed.
The distribution name of the package.
The name of the package.
The platform for which the package is built.
The version of the package.
## Not run:
condathis::with_sandbox_dir({
# Creates a Conda environment with the CLI `fastqc`
condathis::create_env(
packages = "fastqc",
env_name = "fastqc-env"
)
# Lists the packages in env `fastqc-env`
dat <- condathis::list_packages("fastqc-env")
dim(dat)
#> [1] 34 8
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.