Package

apputils

apputils: The apputils package contains common utility functions, settings and references for development use across multiple Shiny apps.

Using apputils

use_apputils()

Initialize apputils

update_toastr_css()

Update shinytoastr css

inputs_not_null()

Require non-null inputs in app UI

app_overlay()

Add HTML content to app launch overlay

exApp()

Run app examples

Override functions

valueBox()

Override shinydashboard valueBox function

infoBox()

Override shinydashboard infoBox function

icon()

Override shiny icon function

statIcon()

Accessor for apputils icons

makeIcons()

Generate png thumbnail icons for various quantities

pTextSize()

Size of text in overridden shiny dashboard value box function widget output

valueBoxColorsCSS()

Genrate CSS for different colored value boxes.

valueBoxPalette()

Generate CSS for a value box color palette.

App information

app_showcase()

Generate app showcase content

app_citation()

Generate a recommended app citation

contactinfo()

Add contact information widget

appintro()

App launch information

faq()

Generate a Frequently Asked Questions (FAQ) widget

dashboard_footer()

Add footer to Shiny dashboard sidebar

tour_changeClass()

Generate a JS callback string for rintrojs tour

read_md_paragraphs()

Read paragraphs from file

Working with data frames

brushed_data()

Filter data frame based on plot brush

color_indexer()

Color re-indexing

Plots

ggObserve()

Plot observers

tolpal()

Generate a vector of colors

get_plottheme()

Get ggplot theme

get_breaks()

Create breaks for ggplot

interact()

Interaction helper for ggplot

getPosition()

Positioning helper for ggplot

colorFacet()

Coloring and faceting helper for ggplot

mouseInfo()

Mouseover info

mouseLog()

Mouseover info browser feedback

kilo_mega()

Kilo and Mega labels for rescaled data

Dynamic reports

sbg_to_tables()

Convert stat box groups output to list of data frames

pasteByLength()

Create sensible readable string from a vector

DT data tables

tableRowColors()

Color table rows according to ggplot coloring by groups.