Skip to contents

This function checks if the ui() and server() parts of a Shiny module are available in the global environment.

Usage

module_exists(base_name)

Arguments

base_name

The name of the module (without '_ui' nor '_server' suffixes)

Value

A boolean

Examples

path <- system.file("workflow/PipelineDemo", package = "MagellanNTK")
source_wf_files(path)
#> [1] TRUE
module_exists("PipelineDemo_Preprocessing")
#> [1] TRUE