rendering/cw_glue_solution.R

#' #' glue together parameters and cwpuzzle template
#' #'
#' #' @param cw crossword object
#' #'
#' #' @export
#' #'
#' cw_glue_solution <- function(cw){
#'   glue::glue(
#'     .open="<R>",
#'     .close="</R>",
#' "\\newpage
#' \\PuzzleSolution
#' \\begin{Puzzle}{<R>cw$columns</R>}{<R>cw$rows</R>}
#' <R>cw_glue_table(cw$letters)</R>
#' \\end{Puzzle}
#' \\end{document}
#' "
#'   )
#' }
petermeissner/crossword documentation built on May 19, 2019, 8:23 a.m.