| .parse_package_spec | R Documentation |
Parses package specifications that may include explicit sources, version pins,
or GitHub/Bioconductor references. Supports both scalar strings and list-style
entries from settings.yml.
.parse_package_spec(spec)
spec |
Character or list describing the package |
Examples:
"dplyr" -> list(name = "dplyr", source = "cran")
"dplyr@1.1.0" -> list(name = "dplyr", version = "1.1.0", source = "cran")
"tidyverse/dplyr@main" -> list(name = "dplyr", repo = "tidyverse/dplyr", ref = "main", source = "github")
list(name = "DESeq2", source = "bioc") -> list(name = "DESeq2", source = "bioc")
List with normalized components (name, source, version, repo, ref, auto_attach)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.