is_module_installed: Is module installed?

Description Usage Arguments Details Value See Also Examples

View source: R/install.R

Description

Check if a module is installed on your system.

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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)

outsider documentation built on Dec. 15, 2020, 5:19 p.m.