Skip to content

Commit

Permalink
update link and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
donyunardi committed Sep 16, 2022
1 parent 86f7f04 commit ed0151a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 9 deletions.
7 changes: 5 additions & 2 deletions R/tm_g_lineplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,11 @@ template_g_lineplot <- function(dataname = "ANL",
#' app <- init(
#' data = cdisc_data(
#' cdisc_dataset("ADSL", ADSL, code = 'ADSL <- synthetic_cdisc_data("latest")$adsl'),
#' cdisc_dataset("ADLB", ADLB, code = 'ADLB <- synthetic_cdisc_data("latest")$adlb
#' ADLB <- dplyr::mutate(ADLB, AVISIT == forcats::fct_reorder(AVISIT, AVISITN, min))'),
#' cdisc_dataset(
#' "ADLB", ADLB,
#' code = 'ADLB <- synthetic_cdisc_data("latest")$adlb
#' ADLB <- dplyr::mutate(ADLB, AVISIT == forcats::fct_reorder(AVISIT, AVISITN, min))'
#' ),
#' check = TRUE
#' ),
#' modules = modules(
Expand Down
12 changes: 10 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@
#' call_concatenate(list(quote(f), quote(g), quote(h)))
#' call_concatenate(list(quote(f)))
#' call_concatenate(list())
#' call_concatenate(list(quote(ggplot2::ggplot(mtcars)), quote(ggplot2::geom_point(ggplot2::aes(wt, mpg)))))
#' call_concatenate(
#' list(quote(ggplot2::ggplot(mtcars)), quote(ggplot2::geom_point(ggplot2::aes(wt, mpg))))
#' )
#'
#' eval(
#' call_concatenate(
#' list(quote(ggplot2::ggplot(mtcars)), quote(ggplot2::geom_point(ggplot2::aes(wt, mpg))))
#' )
#' )
#'
#'
#' eval(call_concatenate(list(quote(ggplot2::ggplot(mtcars)), quote(ggplot2::geom_point(ggplot2::aes(wt, mpg))))))
#' }
call_concatenate <- function(args, bin_op = "+") {
checkmate::assert_string(bin_op)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ These modules include, but are not limited to:
- `tm_g_pp_patient_timeline`: general timeline for individual patients
- ...
<!-- markdownlint-enable MD007 MD030 -->
Most of the modules in `teal.modules.clinical` use functions from the R package [tern](https://insightsengineering.github.io/tern) in order to produce their output.
Most of the modules in `teal.modules.clinical` use functions from the R package [tern](https://insightsengineering.github.io/tern/) in order to produce their output.

## Installation

Expand Down
12 changes: 10 additions & 2 deletions man/call_concatenate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/tm_g_lineplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed0151a

Please sign in to comment.