powered by
Generate a pak specification for a package
wrap(package, version = NULL, source_hint = NULL, github_ref = NULL)
A character vector of pak specs
Package name
Optional version constraint or exact version
Optional hint: "CRAN", "Bioconductor", "GitHub", "local"
Optional GitHub ref like "owner/repo@ref"
wrap("dplyr") wrap("dplyr", version = "1.1.4") wrap("mypackage", source_hint = "Bioconductor") wrap("r-lib/rlang", source_hint = "GitHub", github_ref = "r-lib/rlang")
Run the code above in your browser using DataLab