module_uninstall: Uninstall and remove a module

View source: R/install.R

module_uninstallR Documentation

Uninstall and remove a module

Description

Uninstall outsider module and removes it from your docker

Usage

module_uninstall(repo)

Arguments

repo

Module repo

Details

If program is successfully removed from your system, TRUE is returned else FALSE.

Value

Logical

See Also

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

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.