From fdbcece027a067ac58b0d873cdaf1fc89d4deeb6 Mon Sep 17 00:00:00 2001 From: "Simon P. Couch" Date: Wed, 31 Jan 2024 09:49:43 -0600 Subject: [PATCH] release v1.0.6 (#524) --- DESCRIPTION | 4 ++-- NEWS.md | 6 +++--- R/deprecated.R | 2 +- R/shade_confidence_interval.R | 4 ++-- R/shade_p_value.R | 4 ++-- R/wrappers.R | 2 +- README.Rmd | 2 +- README.md | 2 +- cran-comments.md | 2 +- man/deprecated.Rd | 2 +- man/infer.Rd | 2 +- man/shade_confidence_interval.Rd | 4 ++-- man/shade_p_value.Rd | 4 ++-- man/t_stat.Rd | 2 +- 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 998c677d..5f859677 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: infer Title: Tidy Statistical Inference -Version: 1.0.5.9000 +Version: 1.0.6 Authors@R: c( person("Andrew", "Bray", , "abray@reed.edu", role = "aut"), person("Chester", "Ismay", , "chester.ismay@gmail.com", role = "aut", @@ -67,5 +67,5 @@ Config/Needs/website: tidyverse/tidytemplate Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.0 Config/testthat/edition: 3 diff --git a/NEWS.md b/NEWS.md index 9a43e868..edea1f27 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,4 @@ -# infer v1.0.5.9000 (development version) - -* Fixed bug where `get_confidence_interval()` would error uninformatively when the supplied distribution of estimates contained missing values. The function will now warn and return a confidence interval calculated using the non-missing estimates. +# infer v1.0.6 * Updated infrastructure for errors, warnings, and messages (#513). Most of these changes will not be visible to users, though: - Many longer error messages are now broken up into several lines. @@ -8,6 +6,8 @@ * Various improvements to documentation (#501, #504, #508, #512). +* Fixed bug where `get_confidence_interval()` would error uninformatively when the supplied distribution of estimates contained missing values. The function will now warn and return a confidence interval calculated using the non-missing estimates (#521). + * Fixed bug where `generate()` could not be used without first `specify()`ing variables, even in cases where that specification would not affect resampling/simulation (#448). # infer v1.0.5 diff --git a/R/deprecated.R b/R/deprecated.R index 0314c5c6..4f8d73f4 100644 --- a/R/deprecated.R +++ b/R/deprecated.R @@ -1,7 +1,7 @@ #' Deprecated functions and objects #' #' These functions and objects should no longer be used. They will be removed -#' in a future release of \code{infer}. +#' in a future release of infer. #' @param x See the non-deprecated function. #' @param level See the non-deprecated function. #' @param type See the non-deprecated function. diff --git a/R/shade_confidence_interval.R b/R/shade_confidence_interval.R index f20dd690..f1fe4dfb 100644 --- a/R/shade_confidence_interval.R +++ b/R/shade_confidence_interval.R @@ -20,9 +20,9 @@ #' end points as a vertical lines on the plot. #' @param fill A character or hex string specifying the color to shade the #' confidence interval. If `NULL` then no shading is actually done. -#' @param ... Other arguments passed along to \\{ggplot2\\} functions. +#' @param ... Other arguments passed along to ggplot2 functions. #' -#' @return If added to an existing {infer} visualization, a \\{ggplot2\\} +#' @return If added to an existing infer visualization, a ggplot2 #' object displaying the supplied intervals on top of its corresponding #' distribution. Otherwise, an `infer_layer` list. #' diff --git a/R/shade_p_value.R b/R/shade_p_value.R index f93e02f3..3a8fdf55 100644 --- a/R/shade_p_value.R +++ b/R/shade_p_value.R @@ -22,10 +22,10 @@ #' statistic as a vertical line on the plot. #' @param fill A character or hex string specifying the color to shade the #' p-value region. If `NULL`, the function will not shade any area. -#' @param ... Other arguments passed along to \\{ggplot2\\} functions. +#' @param ... Other arguments passed along to ggplot2 functions. #' For expert use only. #' -#' @return If added to an existing {infer} visualization, a \\{ggplot2\\} +#' @return If added to an existing infer visualization, a ggplot2 #' object displaying the supplied statistic on top of its corresponding #' distribution. Otherwise, an `infer_layer` list. #' diff --git a/R/wrappers.R b/R/wrappers.R index b9c0bcd5..87cf32ca 100755 --- a/R/wrappers.R +++ b/R/wrappers.R @@ -120,7 +120,7 @@ t_test <- function(x, formula, #' @param mu A numeric value giving the hypothesized null mean value for a one #' sample test and the hypothesized difference for a two sample test. #' @inheritParams t_test -#' @param ... Pass in arguments to \\{infer\\} functions. +#' @param ... Pass in arguments to infer functions. #' #' @examples #' library(tidyr) diff --git a/README.Rmd b/README.Rmd index 9969a148..23e83d8a 100755 --- a/README.Rmd +++ b/README.Rmd @@ -14,7 +14,7 @@ output: github_document [![R-CMD-check](https://github.com/tidymodels/infer/actions/workflows/check-standard.yaml/badge.svg)](https://github.com/tidymodels/infer/actions/workflows/check-standard.yaml) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/infer)](https://cran.r-project.org/package=infer) -[![Coverage Status](https://img.shields.io/codecov/c/github/tidymodels/infer/main.svg)](https://codecov.io/github/tidymodels/infer/?branch=main) +[![Coverage Status](https://img.shields.io/codecov/c/github/tidymodels/infer/main.svg)](https://app.codecov.io/github/tidymodels/infer/?branch=main) The objective of this package is to perform statistical inference using an expressive statistical grammar that coheres with the `tidyverse` design framework. The package is centered around 4 main verbs, supplemented with many utilities to visualize and extract value from their outputs. diff --git a/README.md b/README.md index 7392b081..04ee0696 100755 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![R-CMD-check](https://github.com/tidymodels/infer/actions/workflows/check-standard.yaml/badge.svg)](https://github.com/tidymodels/infer/actions/workflows/check-standard.yaml) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/infer)](https://cran.r-project.org/package=infer) [![Coverage -Status](https://img.shields.io/codecov/c/github/tidymodels/infer/main.svg)](https://codecov.io/github/tidymodels/infer/?branch=main) +Status](https://img.shields.io/codecov/c/github/tidymodels/infer/main.svg)](https://app.codecov.io/github/tidymodels/infer/?branch=main) The objective of this package is to perform statistical inference using an expressive statistical grammar that coheres with the `tidyverse` diff --git a/cran-comments.md b/cran-comments.md index 831b1558..3f306830 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -4,4 +4,4 @@ ## Reverse dependencies -We checked 6 reverse dependencies (3 from CRAN + 3 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems. +We checked 8 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems. diff --git a/man/deprecated.Rd b/man/deprecated.Rd index 370dd687..7f87ed47 100644 --- a/man/deprecated.Rd +++ b/man/deprecated.Rd @@ -25,7 +25,7 @@ p_value(x, obs_stat, direction) } \description{ These functions and objects should no longer be used. They will be removed -in a future release of \code{infer}. +in a future release of infer. } \seealso{ \code{\link[=get_p_value]{get_p_value()}}, \code{\link[=get_confidence_interval]{get_confidence_interval()}}, \code{\link[=generate]{generate()}} diff --git a/man/infer.Rd b/man/infer.Rd index 087a37ba..17c7ef96 100644 --- a/man/infer.Rd +++ b/man/infer.Rd @@ -2,8 +2,8 @@ % Please edit documentation in R/infer.R \docType{package} \name{infer} -\alias{infer} \alias{infer-package} +\alias{infer} \title{infer: a grammar for statistical inference} \description{ The objective of this package is to perform statistical inference using a diff --git a/man/shade_confidence_interval.Rd b/man/shade_confidence_interval.Rd index 5a6e7d13..904896d0 100644 --- a/man/shade_confidence_interval.Rd +++ b/man/shade_confidence_interval.Rd @@ -30,10 +30,10 @@ end points as a vertical lines on the plot.} \item{fill}{A character or hex string specifying the color to shade the confidence interval. If \code{NULL} then no shading is actually done.} -\item{...}{Other arguments passed along to \\{ggplot2\\} functions.} +\item{...}{Other arguments passed along to ggplot2 functions.} } \value{ -If added to an existing {infer} visualization, a \\{ggplot2\\} +If added to an existing infer visualization, a ggplot2 object displaying the supplied intervals on top of its corresponding distribution. Otherwise, an \code{infer_layer} list. } diff --git a/man/shade_p_value.Rd b/man/shade_p_value.Rd index 938680c8..bcecd838 100644 --- a/man/shade_p_value.Rd +++ b/man/shade_p_value.Rd @@ -28,11 +28,11 @@ statistic as a vertical line on the plot.} \item{fill}{A character or hex string specifying the color to shade the p-value region. If \code{NULL}, the function will not shade any area.} -\item{...}{Other arguments passed along to \\{ggplot2\\} functions. +\item{...}{Other arguments passed along to ggplot2 functions. For expert use only.} } \value{ -If added to an existing {infer} visualization, a \\{ggplot2\\} +If added to an existing infer visualization, a ggplot2 object displaying the supplied statistic on top of its corresponding distribution. Otherwise, an \code{infer_layer} list. } diff --git a/man/t_stat.Rd b/man/t_stat.Rd index fd5f56fe..ae08ab4b 100755 --- a/man/t_stat.Rd +++ b/man/t_stat.Rd @@ -44,7 +44,7 @@ interval or not. \code{TRUE} by default.} \item{conf_level}{A numeric value between 0 and 1. Default value is 0.95.} -\item{...}{Pass in arguments to \\{infer\\} functions.} +\item{...}{Pass in arguments to infer functions.} } \description{ A shortcut wrapper function to get the observed test statistic for a t test.