R/Pharma workshop (2hours)
Clone this repository with the RStudio IDE or via the command line.
git clone https://github.com/RinteRface/unleash-shiny-2021.git
cd unleash-shiny-2021
Then run renv::restore()
to install the dependencies.
- You can manually install node.js: nodejs.org/en/download/
- You can also use package managers: nodejs.org/en/download/package-manager/
If you have restored the renv state and have nodejs installed run the line below to check whether it is ready for the workshop. It will print helpful messages if it is not.
packer::engine_check()
Slides are hosted here.
- Shiny and package development
- Basics of JavaScript
- Introduction 5 min
- Bundling with packer 15 min
- Project Setup 10 min
- Break 5 min
- Framework 7 60 min
- Break 5 min
- R model 10 min
- Echarts.js (Homework)
- Questions