From 3f4842f6adcbeb1f340ef1b3bf333e8d86ade4dd Mon Sep 17 00:00:00 2001 From: TomKellyGenetics Date: Fri, 5 Jul 2024 11:19:44 +1200 Subject: [PATCH] CRAN checks --- R/annotation.R | 2 +- cran-comments.md | 32 +++++++++++++++++++++++++------- man/add_outliers.Rd | 2 +- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/R/annotation.R b/R/annotation.R index 8dd6499..121840c 100644 --- a/R/annotation.R +++ b/R/annotation.R @@ -86,7 +86,7 @@ add_labels <- function(variable, categories, cex = par()$cex, col = par()$fg, he #' @keywords plot graphics violin annotation #' #' @usage add_outliers(variable, categories, cutoff = 3, -#' fill = par()$bg, col = par()$fg, bars = par()$fg, +#' fill = par()$bg, col = par()$fg, bars = par()$fg, lwd = par()$lwd, #' verbose = FALSE) #' @rdname add_outliers #' @importFrom stats sd diff --git a/cran-comments.md b/cran-comments.md index 4a07696..a28c8aa 100755 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,4 +1,5 @@ ## Test environments +* Windows 10 desktop R 4.3.3 * ubuntu 14.04 (on travis-ci), R 3.6.3, 4.0.0, dev * MacOS 10.13.6 (on travis-ci), 4.0.0 * ubuntu 14.04 (on circle-ci), R 3.6.1 @@ -10,21 +11,38 @@ * CentOS 7 R 4.1.2 * CentOS 7 R 4.2.1 -## R CMD check results +── R CMD check results ───────────────────── vioplot 0.5.0 ──── +Duration: 59.3s -── R CMD check results ────────────── vioplot 0.4.0.9001 ──── -Duration: 40s - -0 errors ✓ | 0 warnings ✓ | 0 notes ✓ +0 errors ✔ | 0 warnings ✔ | 0 notes ✔ R CMD check succeeded ## Updates -Minor bug fixes. Significant changes to documentation. -New feature for histograms. +New features (pilot release with limited API and documentation) + +- adds function to annotate sample size per group +- adds function to plot outliers by standard deviation magnitude threshold + +Updates to Violin plot + +- enable angled axis labels with srt.axis +- pass axis aesthetic parameters from formula input + +Documentation + +- add demo of histogram plots (#19 by @Jadamso) +- updated vignettes for split histograms (#19 by @Jadamso) +- expands vignettes for annotated violins and annotated split violins + +Bug fixes + +- formula input detects group names but avoids overlapping axis labels All changes expected to be backwards compatible without affecting reverse dependencies. +New experimental features are fully-documented with separate functions to +avoid problems with existing functions. #NOTE None. diff --git a/man/add_outliers.Rd b/man/add_outliers.Rd index ac19ec6..0cc015c 100644 --- a/man/add_outliers.Rd +++ b/man/add_outliers.Rd @@ -5,7 +5,7 @@ \title{Annotated Violin Plot} \usage{ add_outliers(variable, categories, cutoff = 3, -fill = par()$bg, col = par()$fg, bars = par()$fg, +fill = par()$bg, col = par()$fg, bars = par()$fg, lwd = par()$lwd, verbose = FALSE) } \arguments{