conan_check | R Documentation |
Check to see if all packages are available in a given library
conan_check(packages, library)
packages |
A character vector of package names or pkgdepends "references" |
library |
A path to a library |
A list with elements
complete
: logical, indicating if all packages were found
found
: A character vector of found packages
missing
: A character vector of missing packages
# Simple usage:
conan::conan_check(c("conan", "pkgdepends"), .libPaths())
# While we parse references, we don't check version information:
conan::conan_check("github::mrc-ide/conan@v2.0.0", .libPaths())
# Missing packages will be returned as the inferred package name
conan::conan_check("github::org/unknownpkg", .libPaths())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.