is_pkg_cran | R Documentation |
Test if a package is available on CRAN
is_pkg_cran(pkg, min_version = NULL, max_tries = 1L)
pkg |
Package name (case-sensitive). A character scalar. |
min_version |
Minimum required version number of |
max_tries |
Maximum number of request attempts in case of an HTTP error. An integerish scalar. Retries are performed using exponential backoff and jitter, see |
A logical scalar.
Other R package functions:
is_pkg_dir()
,
is_pkg_installed()
,
is_pkgdown_dir()
,
ls_pkg()
,
use_pkg()
pal::is_pkg_cran("foobar")
pal::is_pkg_cran("dplyr")
pal::is_pkg_cran("dplyr", min_version = "9999.9")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.