Skip to contents

Disabling Shiny Autoload of R Scripts

Usage

disable_autoload(golem_wd = get_golem_wd(), pkg)

Arguments

golem_wd

Path to the root of the package. Default is get_golem_wd().

pkg

[Deprecated] This argument has been replaced by golem_wd and is kept here for backward compatibility. Providing a value to this argument has no effect: the value is silently ignored, and golem_wd is used instead.

Value

The path to the file, invisibly.

Examples

if (interactive()) {
  disable_autoload()
}