Describe sources
conan_sources(packages, repos = NULL, cran = NULL)
A character vector of packages to install. These
can be names of CRAN packages or GitHub references etc; see
pkgdepends::new_pkg_installation_proposal()
for more details
A character vector of repositories to use when
installing. A suitable CRAN repo will be added if not detected
(using the cran
argument if provided)
Fallback CRAN repo to use. If not given we will use
https://cloud.r-project.org
An object of type conan_sources
which can be used later
with conan, conan_install etc
conan::conan_sources(c("pkg1", "pkg2"))
#> $packages
#> [1] "pkg1" "pkg2"
#>
#> $repos
#> CRAN
#> "https://cloud.r-project.org"
#>
#> attr(,"class")
#> [1] "conan_sources"