R/randomizer_and_blinder_app.R

Defines functions randblinder_shiny_tool

Documented in randblinder_shiny_tool

#' Randomizer and blinder tool
#'
#' See the inst/ folder for the main code for this function
#'
#' @export
randblinder_shiny_tool <- function() {
    appFile <- system.file("shiny_app/randblinder.R", package = "CIDAtools")
    if (appFile == "") {
      stop("Could not find the Shiny app file. Try re-installing CIDAtools.", call. = FALSE)
    }
    shiny::runApp(appFile, display.mode = "normal")
}
CIDA-CSPH/CIDAtools documentation built on July 5, 2025, 1:36 a.m.