From 0e79b9b79239caf8eef20f3527f3ac45f74db583 Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Thu, 22 Jun 2023 10:01:29 +0200 Subject: [PATCH] fix docs --- R/teal_slice.R | 2 +- man/teal_slice.Rd | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/teal_slice.R b/R/teal_slice.R index 3ec0489a0..87f7f0ae6 100644 --- a/R/teal_slice.R +++ b/R/teal_slice.R @@ -72,11 +72,11 @@ #' match names of data sets and vector elements match variable names in respective data sets; #' specify which variables are allowed to be filtered; see `Details` #' @param count_type `character(1)` string specifying how observations are tallied by these filter states. -#' @param module_add `logical(1)` logical flag specifying whether the user will be able to add new filters #' Possible options: #' - `"all"` to have counts of single `FilterState` to show number of observation in filtered #' and unfiltered dataset. #' - `"none"` to have counts of single `FilterState` to show unfiltered number only. +#' @param module_add `logical(1)` logical flag specifying whether the user will be able to add new filters #' @param id `character(1)` identifier of the filter #' @param title `character(1)` title of the filter #' @param expr `character(1)` string providing a logical expression; diff --git a/man/teal_slice.Rd b/man/teal_slice.Rd index f37b441fe..582e1fd06 100644 --- a/man/teal_slice.Rd +++ b/man/teal_slice.Rd @@ -106,9 +106,7 @@ for a \code{data.frame} \code{var1 == "x" & var2 > 0} is sufficient but match names of data sets and vector elements match variable names in respective data sets; specify which variables are allowed to be filtered; see \code{Details}} -\item{count_type}{\code{character(1)} string specifying how observations are tallied by these filter states.} - -\item{module_add}{\code{logical(1)} logical flag specifying whether the user will be able to add new filters +\item{count_type}{\code{character(1)} string specifying how observations are tallied by these filter states. Possible options: \itemize{ \item \code{"all"} to have counts of single \code{FilterState} to show number of observation in filtered @@ -116,6 +114,8 @@ and unfiltered dataset. \item \code{"none"} to have counts of single \code{FilterState} to show unfiltered number only. }} +\item{module_add}{\code{logical(1)} logical flag specifying whether the user will be able to add new filters} + \item{show_all}{\code{logical(1)} specifying whether NULL elements should also be printed} \item{tss}{\code{teal_slices}}