diff --git a/R/LoadReporterModule.R b/R/LoadReporterModule.R index 2e8a1ff7..7043275d 100644 --- a/R/LoadReporterModule.R +++ b/R/LoadReporterModule.R @@ -132,7 +132,6 @@ load_json_report <- function(reporter, zip_path, filename) { ) } ) - } else { shiny::showNotification("Failed to load the Reporter file.", type = "error") } diff --git a/R/SimpleReporter.R b/R/SimpleReporter.R index c912da38..561b4a8d 100644 --- a/R/SimpleReporter.R +++ b/R/SimpleReporter.R @@ -37,8 +37,7 @@ NULL #' @rdname simple_reporter #' @export simple_reporter_ui <- function( - id -) { + id) { ns <- shiny::NS(id) shiny::tagList( shiny::singleton( @@ -73,8 +72,7 @@ simple_reporter_srv <- function( author = "NEST", title = "Report", date = as.character(Sys.Date()), output = "html_document", toc = FALSE - ) -) { + )) { shiny::moduleServer( id, function(input, output, session) { diff --git a/vignettes/teal-reporter-blocks-overview.Rmd b/vignettes/teal-reporter-blocks-overview.Rmd index 3015aa91..5bb03408 100644 --- a/vignettes/teal-reporter-blocks-overview.Rmd +++ b/vignettes/teal-reporter-blocks-overview.Rmd @@ -57,7 +57,7 @@ report_card$append_text("Header 2 text", "header2") report_card$append_text("A paragraph of default text") report_card$append_plot( ggplot(airquality, aes(x = Ozone, y = Solar.R)) + - geom_line(na.rm = T) + geom_line(na.rm = TRUE) ) report_card$append_table(airquality) report_card$append_rcode("airquality_new <- airquality", echo = FALSE) diff --git a/vignettes/teal-reporter.Rmd b/vignettes/teal-reporter.Rmd index 16901953..043c68e2 100644 --- a/vignettes/teal-reporter.Rmd +++ b/vignettes/teal-reporter.Rmd @@ -9,7 +9,7 @@ vignette: > ## Introduction While engaging with data analysis within a `shiny` app, -users often encounter insights that they wish to capture and share, be it through presentations, `markdown` articles, or other formats. +users often encounter insights that they wish to capture and share, be it through's presentations, `markdown` articles, or other formats. The `teal.reporter` package simplifies the process for both developers and end-users of `shiny` applications. It allows for easy generation and dissemination of findings. This eliminates the need for manual copy-pasting or writing in markdown.