Skip to content

Commit

Permalink
Update R/modules.R
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksander Chlebowski <[email protected]>
Signed-off-by: Marcin <[email protected]>
  • Loading branch information
m7pr and chlebowa authored Oct 24, 2023
1 parent a629e3c commit f0bbf52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ append_module <- function(modules, module) {
#'
#' @param modules `teal_modules` or `teal_module`, whatever is passed to `init`'s `modules` argument
#' @keywords internal
#' @return `teal_module_landing`
#' @return `teal_module` of class `class` or `teal_modules` containing modules of class `class`.
extract_module <- function(modules, class) {
if (inherits(modules, class)) {
modules
Expand Down

0 comments on commit f0bbf52

Please sign in to comment.