Skip to content

Commit 621603d

Browse files
committed
pkgdown
1 parent 566a18c commit 621603d

File tree

8 files changed

+35
-5
lines changed

8 files changed

+35
-5
lines changed

R/0-as_picks.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#' Convert data_extract_spec to picks
22
#'
3+
#' @description
4+
#' `r lifecycle::badge("experimental")`
35
#' Helper functions to ease transition between [data_extract_spec()] and [picks()].
46
#' @inheritParams teal::teal_transform_module
57
#' @param x (`data_extract_spec`, `select_spec`, `filter_spec`) object to convert to [`picks`]

R/0-module_picks.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#' Interactive picks
22
#'
33
#' @description
4-
#' `r lifecycle::badge("experimental")`
54
#'
65
#' Creates UI and server components for interactive [picks()] in Shiny modules. The module is based on
76
#' configuration provided via [picks()] and its responsibility is to determine relevant input
@@ -315,6 +314,7 @@ picks_srv.picks <- function(id, picks, data) {
315314
#' @param rv (`reactiveVal`)
316315
#' @param value (`vector`)
317316
#' @param log (`character(1)`) message to `log_debug`
317+
#' @keywords internal
318318
.update_rv <- function(rv, value, log) {
319319
if (!isTRUE(all.equal(rv(), value, tolerance = 1e-15))) { # tolerance 1e-15 is a max precision in widgets.
320320
logger::log_debug(log)

R/0-tidyselect-helpers.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#' `tidyselect` helpers
22
#'
3-
#'
3+
#' @description
4+
#' #' `r lifecycle::badge("experimental")`
5+
#' Predicate functions simplifying `picks` specification.
46
#' @examples
57
#' # select factor column but exclude foreign keys
68
#' variables(choices = is_categorical(min.len = 2, max.len = 10))

_pkgdown.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,28 @@ reference:
6565
- title: Human-readable formatting of a data extract object
6666
contents:
6767
- format_data_extract
68+
- title: Picks
69+
desc: >-
70+
Picks contructors
71+
contents:
72+
- picks
73+
- datasets
74+
- variables
75+
- values
76+
- title: Shiny modules
77+
desc: >-
78+
Modules to interactively select-and-merge
79+
contents:
80+
- merge_srv
81+
- picks_srv
82+
- picks_ui
83+
- tm_merge
84+
- title: Picks utilities
85+
desc: >-
86+
Additional tools to help working with picks
87+
contents:
88+
- as.picks
89+
- is_categorical
90+
- resolver
91+
- teal_transform_filter
92+

man/as.picks.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/dot-update_rv.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/picks_module.Rd

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tidyselectors.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)