Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meaningless change #167

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions R/basic_table_args.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' For more details see the vignette: `vignette("custom-basic-table-arguments", package = "teal.widgets")`.
#'
#' @seealso
#' * [resolve_basic_table_args()] to resolve multiple objects into one using pre-defined priorities.

Check notice on line 11 in R/basic_table_args.R

View workflow job for this annotation

GitHub Actions / grammar

R/basic_table_args.R#L11

"multiple" is wordy or unneeded
#' * [parse_basic_table_args()] to parse resolved list into list of calls.
#'
#' @param ... arguments compatible with [rtables::basic_table()].
Expand All @@ -19,21 +19,19 @@
#' basic_table_args(subtitles = "SUBTITLE")
basic_table_args <- function(...) {
table_args_l <- list(...)

checkmate::assert_character(names(table_args_l), unique = TRUE, null.ok = TRUE)

basic_table_formals <- methods::formalArgs(rtables::basic_table)

checkmate::assert_subset(names(table_args_l), choices = basic_table_formals, empty.ok = TRUE)

structure(table_args_l, class = "basic_table_args")
}

#' Resolves and reduces multiple `basic_table_args` objects

Check notice on line 30 in R/basic_table_args.R

View workflow job for this annotation

GitHub Actions / grammar

R/basic_table_args.R#L30

"multiple" is wordy or unneeded
#'
#' @description `r lifecycle::badge("experimental")`
#' Resolving and reducing multiple `basic_table_args` objects.

Check notice on line 33 in R/basic_table_args.R

View workflow job for this annotation

GitHub Actions / grammar

R/basic_table_args.R#L33

"multiple" is wordy or unneeded
#' This function is intended to utilize user provided settings, defaults provided by the module creator and

Check notice on line 34 in R/basic_table_args.R

View workflow job for this annotation

GitHub Actions / grammar

R/basic_table_args.R#L34

"utilize" is wordy or unneeded
#' also `teal` option. See `Details`, below, to understand the logic.
#'
#' @seealso [parse_basic_table_args()] to parse resolved list into list of calls.
Expand Down Expand Up @@ -95,7 +93,7 @@
#' @param basic_table_args (`basic_table_args`)\cr
#' This argument could be a result of the [`resolve_basic_table_args()`].
#'
#' @return (`language`) the `rtables::basic_table()` filled with additional arguments.

Check notice on line 96 in R/basic_table_args.R

View workflow job for this annotation

GitHub Actions / grammar

R/basic_table_args.R#L96

"additional" is wordy or unneeded
#' @export
#' @examples
#' parse_basic_table_args(
Expand Down
Loading