Skip to content

Commit 4b2eba2

Browse files
committed
Set parent_dataname that matches data available
1 parent 24db467 commit 4b2eba2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

R/tm_missing_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#' app <- init(
7474
#' data = data,
7575
#' modules = modules(
76-
#' tm_missing_data()
76+
#' tm_missing_data(parent_dataname = "mtcars")
7777
#' )
7878
#' )
7979
#' if (interactive()) {

man/tm_missing_data.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-shinytest2-tm_misssing_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ app_driver_tm_missing_data <- function() {
1919
label = "Missing data",
2020
plot_height = c(600, 400, 5000),
2121
plot_width = NULL,
22-
parent_dataname = "",
22+
datanames = "mtcars",
2323
ggtheme = "gray",
2424
ggplot2_args = list(
2525
"Combinations Hist" = teal.widgets::ggplot2_args(

0 commit comments

Comments
 (0)