Leprechaun is not yet on CRAN, get it from Github.
# install.packages("remotes")
remotes::install_github("devOpifex/leprechaun")From the root of a package scaffold a leprechaun application.
usethis::create_package("myApp")
leprechaun::scaffold()This effectively generates code within the package to run a shiny application within a package: leprechaun does not become a dependency to your project.