From f6ddc698a65e0c973157ba903d6ba692da494951 Mon Sep 17 00:00:00 2001 From: Joe Zhu Date: Mon, 23 Dec 2024 17:01:34 +0800 Subject: [PATCH] Trim l ae example v0.2.1 version [skip vbump] (#26) --- DESCRIPTION | 2 +- NEWS.md | 8 ++++++-- R/l_ae_slide.R | 3 ++- man/l_ae_slide.Rd | 3 ++- vignettes/autoslideR.Rmd | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index add892aa..353897c5 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: autoslider.core Title: Slide Automation for Tables, Listings and Figures -Version: 0.2.0.9001 +Version: 0.2.1 Authors@R: c( person("Joe", "Zhu", , "joe.zhu@roche.com", role = c("cre", "aut"), comment = c(ORCID = "0000-0001-7566-2787")), diff --git a/NEWS.md b/NEWS.md index b790d9e0..c82c9745 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,10 +1,14 @@ -# autoslider.core 0.2.0.9001 +# autoslider.core 0.2.1 + +### Miscellaneous + + * Trim `l_ae_slide` example. # autoslider.core 0.2.0 ### New features - * Added new templates `g_lb_slide`, `g_eg_slide`, `g_vs_slide` and `t_ds_slide`. + * Added new templates `g_lb_slide`, `g_eg_slide`, `g_vs_slide`, `l_ae_slide` and `t_ds_slide`. ### Miscellaneous diff --git a/R/l_ae_slide.R b/R/l_ae_slide.R index 87fca399..5cbef129 100644 --- a/R/l_ae_slide.R +++ b/R/l_ae_slide.R @@ -9,7 +9,8 @@ #' adsl <- eg_adsl #' adae <- eg_adae #' -#' l_ae_slide(adsl = adsl, adae = adae) +#' out <- l_ae_slide(adsl = adsl, adae = adae) +#' head(out) l_ae_slide <- function(adsl, adae) { assert_that(has_name(adae, c( "SITEID", "SUBJID", "AGE", "SEX", "RACE", "TRTSDTM", "AETOXGR", diff --git a/man/l_ae_slide.Rd b/man/l_ae_slide.Rd index dee3b5ab..4feb2404 100644 --- a/man/l_ae_slide.Rd +++ b/man/l_ae_slide.Rd @@ -22,5 +22,6 @@ library(rlistings) adsl <- eg_adsl adae <- eg_adae -l_ae_slide(adsl = adsl, adae = adae) +out <- l_ae_slide(adsl = adsl, adae = adae) +head(out) } diff --git a/vignettes/autoslideR.Rmd b/vignettes/autoslideR.Rmd index d27f4de0..7094b284 100644 --- a/vignettes/autoslideR.Rmd +++ b/vignettes/autoslideR.Rmd @@ -226,7 +226,7 @@ SER: ## The functions -You can find an overview of all `autoslider.core` functions [here](link to the manual). +You can find an overview of all `autoslider.core` functions [here](https://insightsengineering.github.io/autoslider.core/latest-tag/reference/index.html). Note that all output-producing functions end with `_slide` while the prefix (i.e. `t_`, `l_`, `g_`) specify the type of output (i.e. table, listing, or graph respectively). Custom functions are needed if the `autoslider.core` functions do not cover the outputs you need. More on that further down.