Is there any code formatter addin or package for Shiny Apps ?

Packages as FormatR are great for R Code formatting, but unfortunately it does not work well on the Shiny Apps.

  • server $Input $output structure
  • UI functions
  • if there are pieces of JS or HTML

Does anyone know a way that can help format Shiny App code? Thank you!

1 Like

I really like the styler package:https://styler.r-lib.org/

It comes in really handy when trying to use consistent styling across a packaged shiny app.

2 Likes

Thank you @jbono! It works really nice with Shiny Apps!

1 Like

No problem @LucasAlmeida! Enjoy!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.