whence: Explain Where a Number Came from in 'shiny' Apps
Lets the viewer of a 'shiny' dashboard click a number, a row
of a summary table or a bar of a 'ggplot2' plot, and see where it came
from. The pipeline that makes the result is split into its steps. Each
step is run in turn, and the number of rows after each step is
recorded. The result is an attrition waterfall that shows how many
rows each step removed, and what share of the rows that was, together
with code that reproduces the result. The steps are found from the
expression alone, so the pipeline does not need to be rewritten. The
rows that contribute to a result, and the rows that a step removed, are
found only when the viewer asks for them.
| Version: |
0.1.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
htmltools, rlang, shiny (≥ 1.7.0), utils |
| Suggests: |
dplyr, ggplot2, reactable, shinytest2, testthat (≥ 3.0.0), tidyr, withr |
| Published: |
2026-10-24 |
| DOI: |
10.32614/CRAN.package.whence (may not be active yet) |
| Author: |
Tanmay Chanda [aut, cre, cph] |
| Maintainer: |
Tanmay Chanda <tanmaychanda96 at gmail.com> |
| BugReports: |
https://github.com/tenmeh/whence/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/tenmeh/whence, https://tenmeh.github.io/whence/ |
| NeedsCompilation: |
no |
| Language: |
en-GB |
| Materials: |
README, NEWS |
| CRAN checks: |
whence results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=whence
to link to this page.