Shiny template 1
This is a test 2022-02-23 BINOM
This package relies heavily on the golem
way of building a shiny app. A few
things are different. There are documented in the setup section below.
A shiny template used mainly as an example on how to use modules and submodules together.
The pattern is actually typical of my usage of shiny
and should simplify
my work.
- Run a simulation of or load data.
- Do some analysis.
- Create and present tables.
- Create and present plots.
- Create repo on github only with the readme file.
- Create git with RStudio
- Create golem project with RStudio and accept override.
- Update
.gitignore
with https://github.com/ThinkR-open/golem/blob/master/.gitignore because the.gitignore
from step 2 above is not as complete.
Don't forget to do these setup steps
- Update
\dev\01_start.R
and run it. - Run
renv::init()
to initialize a new project-local environment. - Run
usethis::use_package_doc()
, see help for details on this useful tool. - Run
usethis::use_test( "app" )
to set up the testing tools with a dummy test.