Learn R Programming

sleuth (version 0.30.0)

sleuth_deploy: deploy a sleuth object

Description

prepare a sleuth object to be deployed in a shiny application.

Usage

sleuth_deploy(obj, base_dir, overwrite = FALSE)

Arguments

obj

a sleuth object

base_dir

the base directory in which to save a shiny application

overwrite

if TRUE, overwrite everything at bayes_dir

Details

creates a directory path and creates a valid shiny application.

  • saves a sleuth object using sleuth_save

  • creates a file app.R loading the sleuth object and calling sleuth_live

See Also

sleuth_save, sleuth_load, sleuth_live