Searches performed

  • Valid package name

  • Already taken on CRAN

  • Positive or negative sentiment

available(name, browse = getOption("available.browse", TRUE), ...)

Arguments

name

Name of package to search

browse

Whether browser should be opened for all web links, default = TRUE. Default can be changed by setting available.browse in .Rprofile. See Startup for more details.

...

Additional arguments passed to utils::available.packages().

Examples

if (FALSE) {
# Check if the available package is available
available("available")

# You can disable opening of browser windows with browse = FALSE
available("survival", browse = FALSE)

# Or by setting a global option
options(available.browse = FALSE)
available("survival")

# Test if a name is available in a non-default CRAN repository by setting
# the `repos` argument
available_on_cran("semaforos")

available_on_cran("semaforos", repos = "https://bisaloo.r-universe.dev")
}