R/html_row.R

Defines functions html_row

Documented in html_row

#' Gather html cells on a row
#' @param cells character vector. Vector of outputs of the function html_cell
#' @return Character. html row composed of several cells.
#' @export

html_row <- function(cells){
  row <- paste0(cells, collapse = "\n")
  row <- paste0(
    '<div style="display: flex;">\n',
    row,
    '\n</div>'
  )
  return(row)
}
NicolasJBM/writer documentation built on Aug. 12, 2019, 2:36 p.m.