commit | 78e61224400ce026e332bc892228cab2a09fd6f4 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed May 24 20:53:35 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed May 24 20:53:35 2017 -0400 |
tree | 7d2e5bca7e4e48a4566e29e293ba72e6781bf2f8 | |
parent | 179d39170a536419729702dc84eda86dd78927df [diff] [blame] |
Drop version due to CRAN resubmission; Add examples as requested
diff --git a/R/landscape.R b/R/landscape.R index 5727fe6..75d9255 100644 --- a/R/landscape.R +++ b/R/landscape.R
@@ -7,6 +7,8 @@ #' @param margin Customizable page margin for special needs. Values can be #' "1cm", "1in" or similar. #' +#' @examples landscape(knitr::kable(head(mtcars), "latex")) +#' #' @export landscape <- function(kable_input, margin = NULL) { kable_format <- attr(kable_input, "format")