From 7dfd6c3c038de12688923b098e64284952e0d916 Mon Sep 17 00:00:00 2001 From: m7pr Date: Fri, 30 Aug 2024 12:39:57 +0200 Subject: [PATCH 1/5] fix noSuggests tests --- R/tm_g_gh_boxplot.R | 2 +- R/tm_g_gh_lineplot.R | 2 +- man/tm_g_gh_boxplot.Rd | 7 ++++--- man/tm_g_gh_correlationplot.Rd | 4 ++-- man/tm_g_gh_density_distribution_plot.Rd | 4 ++-- man/tm_g_gh_lineplot.Rd | 7 ++++--- man/tm_g_gh_scatterplot.Rd | 4 ++-- man/tm_g_gh_spaghettiplot.Rd | 4 ++-- 8 files changed, 18 insertions(+), 16 deletions(-) diff --git a/R/tm_g_gh_boxplot.R b/R/tm_g_gh_boxplot.R index 63315390..883b73b1 100644 --- a/R/tm_g_gh_boxplot.R +++ b/R/tm_g_gh_boxplot.R @@ -45,7 +45,7 @@ #' #' @export #' -#' @examples +#' @examplesIf require("nestcolor") #' # Example using ADaM structure analysis dataset. #' data <- teal_data() #' data <- within(data, { diff --git a/R/tm_g_gh_lineplot.R b/R/tm_g_gh_lineplot.R index 2dc99462..f54e0f22 100644 --- a/R/tm_g_gh_lineplot.R +++ b/R/tm_g_gh_lineplot.R @@ -51,7 +51,7 @@ #' #' @export #' -#' @examples +#' @examplesIf require("nestcolor") #' # Example using ADaM structure analysis dataset. #' data <- teal_data() #' data <- within(data, { diff --git a/man/tm_g_gh_boxplot.Rd b/man/tm_g_gh_boxplot.Rd index 8c22d20f..541a3393 100644 --- a/man/tm_g_gh_boxplot.Rd +++ b/man/tm_g_gh_boxplot.Rd @@ -90,10 +90,10 @@ in the legend.} \item{alpha}{numeric vector to define transparency of plotted points.} -\item{pre_output}{(\code{shiny.tag}) optional,\cr +\item{pre_output}{(\code{shiny.tag}, optional)\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \value{ @@ -104,6 +104,7 @@ This teal module renders the UI and calls the functions that create a box plot a summary table. } \examples{ +\dontshow{if (require("nestcolor")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # Example using ADaM structure analysis dataset. data <- teal_data() data <- within(data, { @@ -203,7 +204,7 @@ app <- init( if (interactive()) { shinyApp(app$ui, app$server) } - +\dontshow{\}) # examplesIf} } \author{ Jeff Tomlinson (tomlinsj) jeffrey.tomlinson@roche.com diff --git a/man/tm_g_gh_correlationplot.Rd b/man/tm_g_gh_correlationplot.Rd index ae159083..49c81279 100644 --- a/man/tm_g_gh_correlationplot.Rd +++ b/man/tm_g_gh_correlationplot.Rd @@ -116,10 +116,10 @@ naming the label for the arbitrary horizontal lines.} \item{reg_text_size}{font size control for regression line annotations.} -\item{pre_output}{(\code{shiny.tag}) optional,\cr +\item{pre_output}{(\code{shiny.tag}, optional)\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \description{ diff --git a/man/tm_g_gh_density_distribution_plot.Rd b/man/tm_g_gh_density_distribution_plot.Rd index b5338b0c..7c8c8f25 100644 --- a/man/tm_g_gh_density_distribution_plot.Rd +++ b/man/tm_g_gh_density_distribution_plot.Rd @@ -68,10 +68,10 @@ naming the label for the arbitrary horizontal lines.} \item{rotate_xlab}{45 degree rotation of \code{x-axis} values.} -\item{pre_output}{(\code{shiny.tag}) optional,\cr +\item{pre_output}{(\code{shiny.tag}, optional)\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \description{ diff --git a/man/tm_g_gh_lineplot.Rd b/man/tm_g_gh_lineplot.Rd index 881bc6df..8b113d90 100644 --- a/man/tm_g_gh_lineplot.Rd +++ b/man/tm_g_gh_lineplot.Rd @@ -100,10 +100,10 @@ Default value is waive().} \item{dodge}{controls the position dodge of error bar} -\item{pre_output}{(\code{shiny.tag}) optional,\cr +\item{pre_output}{(\code{shiny.tag}, optional)\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} \item{count_threshold}{minimum count of observations (as listed in the output table) to plot @@ -123,6 +123,7 @@ of the relative plot height slider} This teal module renders the UI and calls the function that creates a line plot. } \examples{ +\dontshow{if (require("nestcolor")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} # Example using ADaM structure analysis dataset. data <- teal_data() data <- within(data, { @@ -194,7 +195,7 @@ app <- init( if (interactive()) { shinyApp(app$ui, app$server) } - +\dontshow{\}) # examplesIf} } \author{ Wenyi Liu (luiw2) wenyi.liu@roche.com diff --git a/man/tm_g_gh_scatterplot.Rd b/man/tm_g_gh_scatterplot.Rd index e017419a..7e0e7fc1 100644 --- a/man/tm_g_gh_scatterplot.Rd +++ b/man/tm_g_gh_scatterplot.Rd @@ -73,10 +73,10 @@ TRUE.} \item{reg_text_size}{font size control for regression line annotations.} -\item{pre_output}{(\code{shiny.tag}) optional,\cr +\item{pre_output}{(\code{shiny.tag}, optional)\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \description{ diff --git a/man/tm_g_gh_spaghettiplot.Rd b/man/tm_g_gh_spaghettiplot.Rd index 27a4bdf0..cf50450e 100644 --- a/man/tm_g_gh_spaghettiplot.Rd +++ b/man/tm_g_gh_spaghettiplot.Rd @@ -113,10 +113,10 @@ naming the label for the arbitrary horizontal lines.} \item{hline_vars_labels}{a character vector naming the labels for the additional horizontal lines that will appear in the legend.} -\item{pre_output}{(\code{shiny.tag}) optional,\cr +\item{pre_output}{(\code{shiny.tag}, optional)\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \value{ From bdd8ee3b6dce974d0062bc136cd1316e0be45b70 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 20 Sep 2024 13:46:44 +0200 Subject: [PATCH 2/5] chore: use revdepcheck.yaml@r-revdepcheck-action-fix_non_cran --- .github/workflows/scheduled.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 3ce04bb5..988223c1 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -55,7 +55,7 @@ jobs: inputs.chosen-workflow == 'revdepcheck' ) name: revdepcheck ↩️ - uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main + uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@r-revdepcheck-action-fix_non_cran rhub: if: > github.event_name == 'schedule' || ( From 5bf209982e4a86ef4049f20c574b5e5f16fa5b2a Mon Sep 17 00:00:00 2001 From: "27856297+dependabot-preview[bot]@users.noreply.github.com" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 06:55:06 +0000 Subject: [PATCH 3/5] [skip roxygen] [skip vbump] Roxygen Man Pages Auto Update --- man/tm_g_gh_boxplot.Rd | 4 ++-- man/tm_g_gh_correlationplot.Rd | 4 ++-- man/tm_g_gh_density_distribution_plot.Rd | 4 ++-- man/tm_g_gh_lineplot.Rd | 4 ++-- man/tm_g_gh_scatterplot.Rd | 4 ++-- man/tm_g_gh_spaghettiplot.Rd | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/man/tm_g_gh_boxplot.Rd b/man/tm_g_gh_boxplot.Rd index 541a3393..ae3d097e 100644 --- a/man/tm_g_gh_boxplot.Rd +++ b/man/tm_g_gh_boxplot.Rd @@ -90,10 +90,10 @@ in the legend.} \item{alpha}{numeric vector to define transparency of plotted points.} -\item{pre_output}{(\code{shiny.tag}, optional)\cr +\item{pre_output}{(\code{shiny.tag}) optional,\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \value{ diff --git a/man/tm_g_gh_correlationplot.Rd b/man/tm_g_gh_correlationplot.Rd index 49c81279..ae159083 100644 --- a/man/tm_g_gh_correlationplot.Rd +++ b/man/tm_g_gh_correlationplot.Rd @@ -116,10 +116,10 @@ naming the label for the arbitrary horizontal lines.} \item{reg_text_size}{font size control for regression line annotations.} -\item{pre_output}{(\code{shiny.tag}, optional)\cr +\item{pre_output}{(\code{shiny.tag}) optional,\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \description{ diff --git a/man/tm_g_gh_density_distribution_plot.Rd b/man/tm_g_gh_density_distribution_plot.Rd index 7c8c8f25..b5338b0c 100644 --- a/man/tm_g_gh_density_distribution_plot.Rd +++ b/man/tm_g_gh_density_distribution_plot.Rd @@ -68,10 +68,10 @@ naming the label for the arbitrary horizontal lines.} \item{rotate_xlab}{45 degree rotation of \code{x-axis} values.} -\item{pre_output}{(\code{shiny.tag}, optional)\cr +\item{pre_output}{(\code{shiny.tag}) optional,\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \description{ diff --git a/man/tm_g_gh_lineplot.Rd b/man/tm_g_gh_lineplot.Rd index 8b113d90..c307d9b6 100644 --- a/man/tm_g_gh_lineplot.Rd +++ b/man/tm_g_gh_lineplot.Rd @@ -100,10 +100,10 @@ Default value is waive().} \item{dodge}{controls the position dodge of error bar} -\item{pre_output}{(\code{shiny.tag}, optional)\cr +\item{pre_output}{(\code{shiny.tag}) optional,\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} \item{count_threshold}{minimum count of observations (as listed in the output table) to plot diff --git a/man/tm_g_gh_scatterplot.Rd b/man/tm_g_gh_scatterplot.Rd index 7e0e7fc1..e017419a 100644 --- a/man/tm_g_gh_scatterplot.Rd +++ b/man/tm_g_gh_scatterplot.Rd @@ -73,10 +73,10 @@ TRUE.} \item{reg_text_size}{font size control for regression line annotations.} -\item{pre_output}{(\code{shiny.tag}, optional)\cr +\item{pre_output}{(\code{shiny.tag}) optional,\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \description{ diff --git a/man/tm_g_gh_spaghettiplot.Rd b/man/tm_g_gh_spaghettiplot.Rd index cf50450e..27a4bdf0 100644 --- a/man/tm_g_gh_spaghettiplot.Rd +++ b/man/tm_g_gh_spaghettiplot.Rd @@ -113,10 +113,10 @@ naming the label for the arbitrary horizontal lines.} \item{hline_vars_labels}{a character vector naming the labels for the additional horizontal lines that will appear in the legend.} -\item{pre_output}{(\code{shiny.tag}, optional)\cr +\item{pre_output}{(\code{shiny.tag}) optional,\cr with text placed before the output to put the output into context. For example a title.} -\item{post_output}{(\code{shiny.tag}, optional) with text placed after the output to put the output +\item{post_output}{(\code{shiny.tag}) optional, with text placed after the output to put the output into context. For example the \code{\link[shiny:helpText]{shiny::helpText()}} elements are useful.} } \value{ From e81b87cf6b1d0449aca533081b4d7f2e48133ae2 Mon Sep 17 00:00:00 2001 From: Marcin <133694481+m7pr@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:26:50 +0200 Subject: [PATCH 4/5] Update .github/workflows/scheduled.yaml Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com> --- .github/workflows/scheduled.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 988223c1..3ce04bb5 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -55,7 +55,7 @@ jobs: inputs.chosen-workflow == 'revdepcheck' ) name: revdepcheck ↩️ - uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@r-revdepcheck-action-fix_non_cran + uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main rhub: if: > github.event_name == 'schedule' || ( From e736c5f6ad40b5a42773576d538df557ee5b9855 Mon Sep 17 00:00:00 2001 From: m7pr Date: Thu, 3 Oct 2024 09:49:35 +0200 Subject: [PATCH 5/5] add teal.slice to revdepcheck lookup-refs --- .github/workflows/scheduled.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 3ce04bb5..198fa02d 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -70,6 +70,7 @@ jobs: insightsengineering/teal insightsengineering/teal.transform insightsengineering/teal.code + insightsengineering/teal.slice insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets