knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
A personal package of R functions, ggplot themes, and other miscellany.
You can install the released version of tantastic from Tan's R-Universe page with:
install.packages( "tantastic", dependencies = TRUE, repos = c("https://tanho63.r-universe.dev", getOption("repos")) )
gen_input_*() generates a list of Shiny Inputs (either for a list of length n or for a given list of identifiers)read_inputs() returns the values of a given list of input IDsunbind_dt() "unbinds" the Shiny inputs in a table, which is helpful if they are generated/regenerated reactively.fmt_dtcol() colours a DT column based on either the column's minimum and maximum values, or a manually-generated min/max.theme_tantastic() is an adapted theme from hrbrmstr/hrbrthemes's theme_modern_rc()progressively() adds some helpers for progress bars. Now superseded by purrr::map().use_client_tz() and get_client_tz() give access to a Shiny user's timezoneAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.