R/DELIMITERS-start_expr.R

Defines functions start_expr.data.table start_expr

Documented in start_expr start_expr.data.table

#' Start expression
#'
#' Start building an expression.
#'
#' @export
#'
#' @param .data Optionally, something to capture for the expression.
#' @template generic-dots
#'
start_expr <- function(.data, ...) {
    UseMethod("start_expr")
}

#' @rdname start_expr
#' @export
#' @param .verbose Whether to print more information during the expression-building process.
#'
#' @details
#'
#' The [data.table::data.table-class] method returns an [ExprBuilder] instance.
#'
#' @template docu-examples
#'
start_expr.data.table <- function(.data, ..., .verbose = getOption("table.express.verbose", FALSE)) {
    ExprBuilder$new(.data, verbose = .verbose)
}

Try the table.express package in your browser

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

table.express documentation built on April 3, 2023, 5:43 p.m.