is_module_installed: Is module installed?

View source: R/install.R

is_module_installedR Documentation

Is module installed?

Description

Check if a module is installed on your system.

Usage

is_module_installed(repo)

Arguments

repo

Module repo

Details

Searches for repo among installed outsider modules. Returns TRUE if found, else FALSE.

Value

Logical

See Also

Other public: module_details(), module_functions(), module_help(), module_import(), module_installed(), module_install(), module_search(), module_uninstall()

Examples

library(outsider)
# NOT RUN (too slow for automated testing)
## Not run: 
  if (is_outsider_ready()) {
    # simplest repo
    repo <- 'dombennett/om..hello.world'
    # install
    module_install(repo = repo, force = TRUE, update = 'never')
    # is module_installed?
    (is_module_installed(repo = repo))
    # uninstall
    module_uninstall(repo)
  }

## End(Not run)

AntonelliLab/outsider documentation built on June 17, 2022, 3:27 p.m.