Skip to content

Commit

Permalink
Styler changes
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs-roche committed Jan 10, 2025
1 parent 60f9544 commit 1a40f0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions R/tm_front_page.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ tm_front_page <- function(label = "Front page",
with = "tm_front_page(datanames)",
details = c(
"With `datanames` you can select which datasets are displayed.",
i = "Use `tm_front_page(datanames = 'all')` to keep the previous behavior and avoid this warning.")
i = "Use `tm_front_page(datanames = 'all')` to keep the previous behavior and avoid this warning."
)
)
}
checkmate::assert_character(datanames,
Expand Down Expand Up @@ -143,7 +144,8 @@ ui_front_page <- function(id, ...) {
id = "front_page_metabutton",
class = "m-4",
actionButton(ns("metadata_button"), "Show metadata")
)},
)
},
tags$footer(
class = ".small",
get_footer_tags(args$footnotes)
Expand Down
3 changes: 2 additions & 1 deletion R/tm_variable_browser.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ tm_variable_browser <- function(label = "Variable Browser",
with = "tm_variable_browser(datanames)",
details = c(
"If both `datasets_selected` and `datanames` are set `datasets_selected` will be silently ignored.",
i = 'Use `tm_variable_browser(datanames = "all")` to keep the previous behavior and avoid this warning.')
i = 'Use `tm_variable_browser(datanames = "all")` to keep the previous behavior and avoid this warning.'
)
)
}
checkmate::assert_character(datanames, min.len = 0, min.chars = 1, null.ok = TRUE)
Expand Down

0 comments on commit 1a40f0f

Please sign in to comment.