We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c40d4 commit 1cf296eCopy full SHA for 1cf296e
R/methods-epi_df.R
@@ -60,6 +60,8 @@ print.epi_df <- function(x, ...) {
60
cat(sprintf("* %-9s = %s\n", "geo_type", attributes(x)$metadata$geo_type))
61
cat(sprintf("* %-9s = %s\n", "time_type", attributes(x)$metadata$time_type))
62
cat(sprintf("* %-9s = %s\n", "as_of", attributes(x)$metadata$as_of))
63
+ # Conditional output (silent if attribute is NULL):
64
+ cat(sprintf("* %-9s = %s\n", "decay_to_tibble", attr(x, "decay_to_tibble")))
65
cat("\n")
66
NextMethod()
67
}
0 commit comments