Learn R Programming

shinyfa

The {shinyfa} package is designed to help Shiny developers analyze and understand the file contents of large Shiny app directories.

Large Shiny applications often contain numerous files that define both dynamic UI and server components, sometimes linked together in complex sourcing chains (though this is less common in Shiny apps structured with modules). For new contributors—such as consultants joining a project—it can take considerable time to onboard, navigate the codebase, and identify areas for optimization.

This in-progress package aims to streamline that process by extracting key information from a Shiny app directory. It identifies specific render functions, reactive functions, and their inputs, organizing them into a structured data.frame for easy reference.

The fa in shinyfa stands for file analysis.

Copy Link

Version

Install

install.packages('shinyfa')

Monthly Downloads

116

Version

0.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jasmine Dumas

Last Published

November 9th, 2025

Functions in shinyfa (0.0.1)

classify_reactivity

Classify the reactivity type of a render block
read_shiny_file

Read a Shiny file and determine if it should be skipped
extract_named_reactives

Extract named reactive expressions from a Shiny server file
analyze_shiny_reactivity

Analyze Shiny server reactivity in a given file
extract_output_assignments

Extract output assignments from Shiny server code
extract_input_dependencies

Extract input dependencies from a Shiny render block
extract_ui_features

Extract Shiny UI input and output elements and their ids (including custom Output functions)