Skip to content

Commit

Permalink
1300_refactor_imputation: update vignettes and add documentation for …
Browse files Browse the repository at this point in the history
…helpers
  • Loading branch information
bundfussr committed Jul 28, 2022
1 parent ad02912 commit 3013ad6
Show file tree
Hide file tree
Showing 33 changed files with 952 additions and 547 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export(default_qtc_paramcd)
export(derivation_slice)
export(derive_derived_param)
export(derive_extreme_records)
export(derive_last_dose)
export(derive_param_bmi)
export(derive_param_bsa)
export(derive_param_computed)
Expand Down Expand Up @@ -264,6 +263,7 @@ importFrom(rlang,.data)
importFrom(rlang,abort)
importFrom(rlang,arg_match)
importFrom(rlang,as_function)
importFrom(rlang,as_label)
importFrom(rlang,as_string)
importFrom(rlang,call2)
importFrom(rlang,call_name)
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ imputation functions itself. The following parameters were deprecated:

The following parameters do no longer accept DTC variables:

- `date` in `date_source()`, `dthcaus_source`, `censor_source()`, and `event_source()`
- `date` in `date_source()`, `dthcaus_source()`, `censor_source()`, and
`event_source()`
- `dose_date` and `analysis_date` in `derive_vars_last_dose()`,
`derive_var_last_dose_amt()`, `derive_var_last_dose_date()`,
`derive_var_last_dose_grp()`
Expand Down
15 changes: 7 additions & 8 deletions R/admiral-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
#' starts_with transmute ungroup vars n_distinct union distinct
#' summarise_at summarise coalesce bind_cols na_if tibble
#' @importFrom magrittr %>%
#' @importFrom rlang := abort arg_match as_function as_string call2 caller_env
#' call_name current_env .data enexpr enquo eval_bare eval_tidy expr
#' expr_interp expr_label f_lhs f_rhs inform
#' is_bare_formula is_call is_character is_formula is_integerish
#' is_logical is_quosure is_quosures is_symbol new_formula
#' parse_expr parse_exprs quo quo_get_expr quo_is_call
#' quo_is_missing quo_is_null quo_is_symbol quos quo_squash quo_text
#' set_names sym syms type_of warn quo_set_env quo_get_env
#' @importFrom rlang := abort arg_match as_function as_label as_string call2
#' caller_env call_name current_env .data enexpr enquo eval_bare eval_tidy
#' expr expr_interp expr_label f_lhs f_rhs inform is_bare_formula is_call
#' is_character is_formula is_integerish is_logical is_quosure is_quosures
#' is_symbol new_formula parse_expr parse_exprs quo quo_get_expr quo_is_call
#' quo_is_missing quo_is_null quo_is_symbol quos quo_squash quo_text set_names
#' sym syms type_of warn quo_set_env quo_get_env
#' @importFrom utils capture.output str
#' @importFrom purrr map map2 map_chr map_lgl reduce walk keep map_if transpose
#' flatten every modify_at modify_if reduce compose
Expand Down
1 change: 1 addition & 0 deletions R/assertions.R
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ assert_numeric_vector <- function(arg, optional = FALSE) {
#'
#' @examples
#' library(tibble)
#' library(lubridate)
#' library(rlang)
#'
#' example_fun <- function(dataset, var) {
Expand Down
Loading

0 comments on commit 3013ad6

Please sign in to comment.