conan_sources: Describe sources

View source: R/sources.R

conan_sourcesR Documentation

Describe sources

Description

Describe sources

Usage

conan_sources(packages, repos = NULL, cran = NULL)

Arguments

packages

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

repos

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)

cran

Fallback CRAN repo to use. If not given we will use ⁠https://cloud.r-project.org⁠

Value

An object of type conan_sources which can be used later with conan, conan_install etc

Author(s)

Rich FitzJohn

Examples

conan::conan_sources(c("pkg1", "pkg2"))

mrc-ide/conan documentation built on Nov. 14, 2023, 6:23 p.m.