Skip to content

Commit

Permalink
adding link to vignette and fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Nov 13, 2023
1 parent 0b12f7b commit f00e181
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/module_teal_with_splash.R
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ srv_teal_with_splash <- function(id, data, modules, filter = teal_slices()) {
}

if (!is.reactive(teal_data_rv)) {
stop("The `teal_data_module` must return a reactive expression containing a `teal_data` object.", call. = FALSE)
stop("The `teal_data_module` must return a reactive expression.", call. = FALSE)
}

teal_data_rv_validate <- reactive({
Expand Down
2 changes: 1 addition & 1 deletion man/teal_data_module.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-module_teal_with_splash.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ testthat::test_that("srv_teal_with_splash throws when teal_data_module doesn't r
),
expr = {}
),
"The `teal_data_module` must return a reactive expression containing a `teal_data` object."
"The `teal_data_module` must return a reactive expression."
)
})

Expand Down

0 comments on commit f00e181

Please sign in to comment.