Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions R/shinyModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
#' @rdname reactlog_module
#' @export
#' @examples
#' if (!require("shiny")) {
#' message("`shiny` required to run example")
#' return()
#' }
#'
#' if (requireNamespace("shiny", quietly = TRUE)) {
#' library(shiny)
#' # Enable reactlog
#' reactlog_enable()
Expand Down Expand Up @@ -55,6 +51,7 @@
#' if (interactive()) {
#' shinyApp(ui = ui, server = server)
#' }
#' }
reactlog_module_ui <- function(include_refresh = TRUE, id = "reactlog_module") {
ns <- shiny::NS(id)
shiny::tagList(
Expand Down Expand Up @@ -135,7 +132,7 @@ shiny_version_required <- function() {
test_shiny_version <- function() {
tryCatch({
utils::packageVersion("shiny") >= shiny_version_required()
}, error = function() {
}, error = function(e) {
# package not found
FALSE
})
Expand Down
7 changes: 2 additions & 5 deletions man/reactlog_module.Rd

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

Loading