diff --git a/R/teal_slice.R b/R/teal_slice.R index e87682b66..2341f83f0 100644 --- a/R/teal_slice.R +++ b/R/teal_slice.R @@ -25,13 +25,13 @@ #' as.teal_slice(x) #' #' ## S3 method for class 'teal_slice' -#' as.list.teal_slice(x, ...) +#' as.list(x, ...) #' #' ## S3 method for class 'teal_slice' -#' format.teal_slice(x, show_all = FALSE, trim_lines = TRUE, ...) +#' format(x, show_all = FALSE, trim_lines = TRUE, ...) #' #' ## S3 method for class 'teal_slice' -#' print.teal_slice(x, ...) +#' print(x, ...) #' #' @details #' `teal_slice` object fully describes filter state and can be used to create, @@ -142,6 +142,8 @@ #' #' @seealso [`teal_slices`] #' +#' @aliases is.teal_slice as.teal_slice as.list.teal_slice format.teal_slice print.teal_slice +#' #' @export teal_slice <- function(dataname, # When editing function parameters, please remember to update @usage section. varname, diff --git a/R/teal_slices.R b/R/teal_slices.R index ebfc344a2..36b74ee37 100644 --- a/R/teal_slices.R +++ b/R/teal_slices.R @@ -118,6 +118,8 @@ #' - [`teal_slice`] for creating constituent elements of `teal_slices` #' - [`teal::slices_store`] for robust utilities for saving and loading `teal_slices` in `JSON` format #' +#' @aliases is.teal_slices as.teal_slices as.list.teal_slices format.teal_slices print.teal_slices c.teal_slices +#' #' @export #' teal_slices <- function(..., # When editing function parameters, please remember to update @usage section. diff --git a/man/teal_slice.Rd b/man/teal_slice.Rd index 33e8265bc..7a8f3f270 100644 --- a/man/teal_slice.Rd +++ b/man/teal_slice.Rd @@ -2,6 +2,11 @@ % Please edit documentation in R/teal_slice.R \name{teal_slice} \alias{teal_slice} +\alias{is.teal_slice} +\alias{as.teal_slice} +\alias{as.list.teal_slice} +\alias{format.teal_slice} +\alias{print.teal_slice} \title{Specify single filter} \usage{ teal_slice( @@ -25,13 +30,13 @@ is.teal_slice(x) as.teal_slice(x) ## S3 method for class 'teal_slice' -as.list.teal_slice(x, ...) +as.list(x, ...) ## S3 method for class 'teal_slice' -format.teal_slice(x, show_all = FALSE, trim_lines = TRUE, ...) +format(x, show_all = FALSE, trim_lines = TRUE, ...) ## S3 method for class 'teal_slice' -print.teal_slice(x, ...) +print(x, ...) } \arguments{ \item{dataname}{(\code{character(1)}) name of data set} diff --git a/man/teal_slices.Rd b/man/teal_slices.Rd index b9f23b85e..7a02f59a8 100644 --- a/man/teal_slices.Rd +++ b/man/teal_slices.Rd @@ -2,6 +2,12 @@ % Please edit documentation in R/teal_slices.R \name{teal_slices} \alias{teal_slices} +\alias{is.teal_slices} +\alias{as.teal_slices} +\alias{as.list.teal_slices} +\alias{format.teal_slices} +\alias{print.teal_slices} +\alias{c.teal_slices} \title{Complete filter specification} \usage{ teal_slices(