R/docxtools.R

#' docxtools: R Markdown to docx helper functions.
#'
#' The docxtools package provides a set of helper functions for using R Markdown
#' to create documents in docx format, especially documents for use in a
#' classroom or workshop setting.
#'
#' The package provides two categories of functions: one for formatting numbers
#' and tables; and one for placing specific objects in a docx output document.
#'
#' @section Number and table formatting:
#'   \code{format_engr()} Format numerical variables in engineering notation.
#'
#' @section Insert objects into docx documents:
#'   \code{put_axes()} Insert a two-dimensional coordinate axes in a document.
#'   \code{put_gap()}  Insert a gap or whitespace in a document.
#'
#' @docType package
#' @name docxtools
NULL

## addresses R CMD check warning "no visible binding"
if (getRversion() >= "2.15.1") {
  utils::globalVariables(c(
    ".", "div", "num_sign", "num", "num_left",
    "num_str", "output", "pow", "value", "var",
    "dig", "n"
  ))
}

Try the docxtools package in your browser

Any scripts or data that you put into this service are public.

docxtools documentation built on Nov. 12, 2022, 1:12 a.m.