Skip to content

Commit b21e1c1

Browse files
committed
#17 remove data name
1 parent 8b31f93 commit b21e1c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

functions/print_df.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ library(reactablefmtr)
44
print_df <- function(dataset, n = 10) {
55
out <- dataset
66

7-
text <- paste0("Sample Print of ", deparse(substitute(dataset)), " Data")
8-
97
reactable(
108
head(out, n),
119
compact = TRUE,
@@ -23,5 +21,5 @@ print_df <- function(dataset, n = 10) {
2321
cellPadding = "8px"
2422
)
2523
) %>%
26-
add_title(text)
24+
add_title("Sample of Data")
2725
}

0 commit comments

Comments
 (0)