| configure_packages | R Documentation |
Interactively add package dependencies to settings.yml (or settings.yml for legacy projects). Packages can be installed from CRAN, GitHub, or Bioconductor, with version pinning support.
configure_packages(
package = NULL,
auto_attach = TRUE,
version = NULL,
interactive = TRUE
)
package |
Character. Package name (e.g., "dplyr", "tidyverse/dplyr") |
auto_attach |
Logical. If TRUE, package is loaded automatically during scaffold() |
version |
Character. Version constraint (e.g., "@1.1.0", "@main" for GitHub) |
interactive |
Logical. If TRUE, prompts for missing values. Default TRUE. |
CRAN: "dplyr", "ggplot2"
CRAN with version: "dplyr@1.1.0"
GitHub: "tidyverse/dplyr", "user/repo@branch"
GitHub with tag: "user/repo@v1.2.3"
Invisibly returns updated config
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.