Skip to content

How to properly manage JS code in a Shiny project?

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

RinteRface/unleash-shiny-2021

Repository files navigation

Unleash-Shiny 2021

R/Pharma workshop (2hours)

Setup

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.

⚠️ this workshop makes heavy use of npm (Node's Package Manager), it comes with the installation of node.js.

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

Slides are hosted here.

Requirements

  • Shiny and package development
  • Basics of JavaScript

Program

  1. Introduction 5 min
  2. Bundling with packer 15 min
  3. Project Setup 10 min
  4. Break 5 min
  5. Framework 7 60 min
  6. Break 5 min
  7. R model 10 min
  8. Echarts.js (Homework)
  9. Questions

Resources

About

How to properly manage JS code in a Shiny project?

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published