We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b31f93 commit b21e1c1Copy full SHA for b21e1c1
functions/print_df.R
@@ -4,8 +4,6 @@ library(reactablefmtr)
4
print_df <- function(dataset, n = 10) {
5
out <- dataset
6
7
- text <- paste0("Sample Print of ", deparse(substitute(dataset)), " Data")
8
-
9
reactable(
10
head(out, n),
11
compact = TRUE,
@@ -23,5 +21,5 @@ print_df <- function(dataset, n = 10) {
23
21
cellPadding = "8px"
24
22
)
25
) %>%
26
- add_title(text)
+ add_title("Sample of Data")
27
}
0 commit comments