Skip to content

Commit

Permalink
CRAN release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TomKellyGenetics committed Dec 8, 2022
1 parent ef6aca2 commit 8cd4e83
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 5 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ revdep
^.*\.pkg
^\.circleci/config\.yml$
^todo.txt
^CRAN-SUBMISSION$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: vioplot
Title: Violin Plot
Version: 0.4.0.9001
Version: 0.4.0
Date: 2022-12-08
Authors@R: c(person("Daniel", "Adler", email = "[email protected]", role = c("aut", "cph")),
person("S. Thomas", "Kelly", email = "[email protected]", role = c("aut", "cre")),
Expand Down
18 changes: 18 additions & 0 deletions R/vioplot.stats.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#' Violin Plot Statistics
#'
#' This function is typically called by another function to gather the statistics necessary
#' for producing box plots, but may be invoked separately. See: \code{\link[grDevices]{boxplot.stats}}
#'
#' @aliases violin.stats violinplot.stats
#' @rdname violin.stats
#' @param x a numeric vector for which the violin plot will be constructed \code{NA}s and \code{NaN}s are allowed and omitted).
#' @param coef this determines how far the plot ‘whiskers’ extend out from the box. If coef is positive, the
#' whiskers extend to the most extreme data point which is no more than coef times the length of the box away
#' from the box. A value of zero causes the whiskers to extend to the data extremes (and no outliers be returned).
#' @param do.conf,do.out logicals; if FALSE, the conf or out component respectively will be empty in the result.
#' @param ... arguments passed to \code{\link[vioplot]{vioplot}}.
#' @importFrom grDevices boxplot.stats
#' @export
vioplot.stats <- function(x, coef = 1.5, do.conf = TRUE, do.out = TRUE, ...){
boxplot.stats(x, coef = coef, do.conf = do.conf, do.out = do.out)
}
16 changes: 12 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,25 @@
* local Windows 7 install, R 3.2.1
* Windows Server 2012 (on AppVeyor), R 4.0.1
* win-builder (devel and release)
* MacOS 18.6.0 R 3.6.2
* MacOS 18.6.0 R 4.2.0
* CentOS 7 R 4.1.2
* CentOS 7 R 4.2.1

## R CMD check results

── R CMD check results ────────────────────────────────────── vioplot 0.3.6 ────
Duration: 48s
── R CMD check results ────────────── vioplot 0.4.0.9001 ────
Duration: 40s

0 errors ✓ | 0 warnings ✓ | 0 notes ✓

R CMD check succeeded

## Updates
Minor bug fixes.
Minor bug fixes. Significant changes to documentation.

New feature for histograms.

All changes expected to be backwards compatible without affecting reverse dependencies.

#NOTE
None.
25 changes: 25 additions & 0 deletions man/violin.stats.Rd

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

0 comments on commit 8cd4e83

Please sign in to comment.