R/dt_stub_others.R

Defines functions dt_stub_others_init dt_stub_others_set dt_stub_others_get

.dt_stub_others_key <- "_stub_others"

dt_stub_others_get <- function(data) {

  dt__get(data, .dt_stub_others_key)
}

dt_stub_others_set <- function(data, stub_others) {

  dt__set(data, .dt_stub_others_key, stub_others)
}

dt_stub_others_init <- function(data) {

  data <-
    NA_character_ %>%
    dt_stub_others_set(data = data)

  data
}

Try the gt package in your browser

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

gt documentation built on Aug. 6, 2020, 1:07 a.m.