Prerequisites

  • Be familiar with Shiny
  • Basic knowledge in HTML and JavaScript is a plus but not mandatory

Disclaimer

This book is not an HTML/Javascript/CSS course! Instead, it provides a survival kit to be able to customize Shiny. I am sure however that readers will want to explore more about these topics.

Is this book for me?

You should read this book if you answer yes to the following questions:

  • Do you want to know how to develop outstanding shiny apps?
  • Have you ever wondered how to develop new input widgets?

Acknowledgements

  • I am very grateful to Douglas Robinson for proof reading the book and fixing many typos it contained.
  • A special thanks to my friends John and Victor for contributing to RinteRface. By contribution, I am not meaning only code contribution but also support in any form.
  • Thanks to the eRum organizers for giving me the opportunity to present this work at the virtual e-Rum2020 conference
  • RinteRface and this book won’t exist without the amazing R community. Thanks for their valuable feedback.

Packages

library(shiny)
library(shinydashboard)
## 
## Attaching package: 'shinydashboard'
## The following object is masked from 'package:graphics':
## 
##     box
library(cascadess)
## 
## Attaching package: 'cascadess'
## The following object is masked from 'package:graphics':
## 
##     text
library(htmltools)
library(purrr)
## Warning: package 'purrr' was built under R version 3.6.2
library(magrittr)
## 
## Attaching package: 'magrittr'
## The following object is masked from 'package:purrr':
## 
##     set_names
library(ggplot2)
## Warning: package 'ggplot2' was built under R version 3.6.2
## 
## Attaching package: 'ggplot2'
## The following object is masked from 'package:cascadess':
## 
##     margin
library(thematic)
## This version of thematic is designed to work with shiny version 1.4.0.9003 or higher. Consider upgrading via remotes::install_github('rstudio/shiny')
## This version of thematic is designed to work with rmarkdown version 2.2.0 or higher. Consider upgrading via remotes::install_github('rstudio/rmarkdown#1706')
library(fresh)
library(testthat)
## 
## Attaching package: 'testthat'
## The following objects are masked from 'package:magrittr':
## 
##     equals, is_less_than, not
## The following object is masked from 'package:purrr':
## 
##     is_null
library(jstools)
library(scales)
## Warning: package 'scales' was built under R version 3.6.2
## 
## Attaching package: 'scales'
## The following object is masked from 'package:purrr':
## 
##     discard
library(dplyr)
## 
## Attaching package: 'dplyr'
## The following object is masked from 'package:testthat':
## 
##     matches
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
library(apexcharter)
library(shinyWidgets)
## Warning: package 'shinyWidgets' was built under R version 3.6.2