check_shiny: Verify that shiny can be used in current scope

Description Usage Arguments Value

Description

Verify that shiny can be used in current scope

Usage

1
2
check_shiny(calling_f = as.list(sys.call(-1L))[[1]],
  ignore = getOption("scriptgloss.testmode"))

Arguments

calling_f

a function name which triggered the check_shiny call. defaults to the name of the calling function.

ignore

logical indicating whether to return TRUE even if shiny is not currently running (generally only used for testing purposes.)

Value

logical indicating whether shiny namespace is available


dgkf/scriptgloss documentation built on June 8, 2019, 8:43 p.m.