Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Mar 27, 2024
1 parent 7d06b4f commit 3f5e65f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/print.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ print.tinytable <- function(x,
output <- sanitize_output(output)
}

message(output)

if (output == "html") {
dir <- tempfile()
dir.create(dir)
Expand Down Expand Up @@ -106,5 +108,5 @@ print.tinytable <- function(x,


setMethod("show", "tinytable", function(object) {
print.tinytable(object, output = object@output)
print.tinytable(object, output = getOption("tinytable_print_output", default = NULL))
})

0 comments on commit 3f5e65f

Please sign in to comment.