This lets package authors control how objects are printed just for
pkgdown examples. The default is to call print()
apart from htmlwidgets
where the object is returned as is (with sizes tweaked).
pkgdown_print(x, visible = TRUE)
Object to display
Whether it is visible or not
Either a character vector representing printed output (which will be escaped for HTML as necessary) or literal HTML produced by the htmltools or htmlwidgets packages.