From 76b8c622ade6759a7ef04a013d98e19ed1b733a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:51:28 +0100 Subject: [PATCH] docs: update notation with optional string --- R/tm_file_viewer.R | 4 ++-- man/tm_file_viewer.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/tm_file_viewer.R b/R/tm_file_viewer.R index 3f39ec708..8be167330 100644 --- a/R/tm_file_viewer.R +++ b/R/tm_file_viewer.R @@ -6,9 +6,9 @@ #' #' @inheritParams teal::module #' @inheritParams shared_params -#' @param input_path (optional `list`) of the input paths to either: +#' @param input_path (`list`) of the input paths, optional. Each element can be: #' -#' 1. Specific files of accepted formats +#' 1. Specific path to files of accepted formats #' 2. A directory or a URL #' #' The paths can be specified as absolute paths or relative to the running diff --git a/man/tm_file_viewer.Rd b/man/tm_file_viewer.Rd index 482b24f71..79a3476f3 100644 --- a/man/tm_file_viewer.Rd +++ b/man/tm_file_viewer.Rd @@ -13,9 +13,9 @@ tm_file_viewer( \item{label}{(\code{character(1)}) Label shown in the navigation item for the module or module group. For \code{modules()} defaults to \code{"root"}. See \code{Details}.} -\item{input_path}{(optional \code{list}) of the input paths to either: +\item{input_path}{(\code{list}) of the input paths, optional. Each element can be: \enumerate{ -\item Specific files of accepted formats +\item Specific path to files of accepted formats \item A directory or a URL }