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

Add the autohide argument to cols_nanoplot() #1533

Merged
merged 6 commits into from
Jan 13, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add docs for autohide arg
rich-iannone committed Jan 12, 2024
commit 85e6343d416d96c2ea211e8038f58a4829c03e7d
9 changes: 9 additions & 0 deletions R/modify_columns.R
Original file line number Diff line number Diff line change
@@ -2252,6 +2252,15 @@ cols_add <- function(
#' *x*-axis data), which is useful in those cases where the nanoplot data
#' should be compared across rows.
#'
#' @param autohide *Automatically hide the `columns`/`columns_x_vals` column(s)*
#'
#' `scalar<logical>` // *default:* `TRUE`
#'
#' An option to automatically hide any columns specified in `columns` and also
#' `columns_x_vals` (if used). Any columns with their state changed to
#' 'hidden' will behave the same as before, they just won't be displayed in
#' the finalized table.
#'
#' @param columns_x_vals *Columns containing values for the optional x variable*
#'
#' `<column-targeting expression>` // *default:* `NULL` (`optional`)