Create a new golem Shiny application. Triggers on: - "create a golem app" - "create a shiny app with golem" - "initialize a golem app" Do not trigger on: - when building Shiny applications without using the golem package
You are helping a user create a new golem Shiny application. Follow the guidelines in the CLAUDE.md file from the golem-claude repository.
golem::create_golem(name) to create the applicationRscript -e "golem::run_dev()" from within the new app directoryR/ folder flat - no subfoldersusethis::use_build_ignore() for files that don't fit the package structureNAMESPACE by handdevtools::document() after any roxygen changesdev/ folderdata-raw/ folderR/mod_<name>.RR/mod_<name>_fct_<fn>.RR/mod_<name>_utils_<fn>.RR/fct_<name>.RR/utils_<name>.RAlways create modules and functions with tests:
golem::add_module("name", with_test = TRUE)golem::add_fct("name", with_test = TRUE)golem::add_utils("name", with_test = TRUE)After creating the app, remind the user to:
Rscript -e "golem::run_dev()" to launch the appdevtools::test() to run testsdevtools::document() when adding roxygen documentation