Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
moodymudskipper committed Jun 6, 2023
1 parent d0ef69f commit 94a2424
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* `flow_view_deps()` accepts a list of functions as input, to display a diagram
that starts from several functions.
* `flow_view_deps()`'s `trim`, `promote`, `demote`, `trim` arguments support
regular rexpressions.
regular expressions.
* `flow_view_doc()` and `flow_view_doc()` were simplified to output only html since
the md output was rarely used and brittle.
* `flow_debugonce()` is deprecated, use `flow_debug()` and `flow_undebug()`
Expand Down
2 changes: 1 addition & 1 deletion R/11_flow_view_shiny.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' This function displays a shiny app's module structure, assuming it is built
#' on top of module functions named a certain way (adjustable through the `pattern` argument) and
#' calling each other. If you call for instance `flow_view_shiny()` on a function that runs the app and
#' uses both the maon server and ui functions, you'll display the full graph of server and ui modules.
#' uses both the main server and ui functions, you'll display the full graph of server and ui modules.
#'
#' It is wrapper around `flow_view_deps()` which demotes every object that is not
#' a server function, a ui function or a function calling either. What is or isn't considered as a
Expand Down
24 changes: 12 additions & 12 deletions docs/articles/experimental-functions.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions docs/reference/flow_view_shiny.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/flow_view_shiny.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vignettes/experimental-functions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ Use the `out` argument to export these diagrams.
## `flow_view_shiny()`

#' This function displays a shiny app's module structure, . If you call for instance `flow_view_shiny()` on a function that runs the app and
#' uses both the maon server and ui functions, you'll display the full graph of server and ui modules.
#' uses both the main server and ui functions, you'll display the full graph of server and ui modules.

`flow_view_shiny()` is a wrapper around `flow_view_deps()` to show the structure
of a shiny app. It assumes the app is built on top of module functions named a certain way (adjustable through the `pattern` argument).

It works nicely on apps built with {golem} or follow the same
kind of structure (good practice basically), such as those that you'd build following the
recommendations in Hadley Wickham's "Mestering Shiny".
recommendations in Hadley Wickham's "Mastering Shiny".

Apps that use `source()` are not well supported but it might come as we found it's quite common (though
probably not good practice).
Expand Down

0 comments on commit 94a2424

Please sign in to comment.