Description Usage Arguments Details Value See Also Examples
Check if a module is installed on your system.
1 | is_module_installed(repo)
|
repo |
Module repo |
Searches for repo
among installed outsider modules. Returns
TRUE if found, else FALSE.
Logical
Other public:
module_details()
,
module_functions()
,
module_help()
,
module_import()
,
module_installed()
,
module_install()
,
module_search()
,
module_uninstall()
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.