Skip to content

Commit

Permalink
cran submission 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Sep 13, 2020
1 parent 1ebc344 commit e04911e
Show file tree
Hide file tree
Showing 187 changed files with 1,166 additions and 1,221 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2020-05-30.
Once it is accepted, delete this file and tag the release (commit c65e7632b3).
This package was submitted to CRAN on 2020-09-13.
Once it is accepted, delete this file and tag the release (commit 1ebc344d).
10 changes: 4 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: ggstatsplot
Title: 'ggplot2' Based Plots with Statistical Details
Version: 0.5.0.9000
Version: 0.6.0
Authors@R:
person(given = "Indrajeet",
family = "Patil",
Expand Down Expand Up @@ -36,14 +36,14 @@ Imports:
ggsignif,
insight,
ipmisc,
pairwiseComparisons (>= 2.0.0),
pairwiseComparisons (>= 2.0.1),
paletteer,
parameters,
purrr,
rlang,
stats,
statsExpressions (>= 0.4.3),
tidyr
statsExpressions (>= 0.5.0),
tidyr (>= 0.3.0)
Suggests:
forcats,
knitr,
Expand All @@ -55,8 +55,6 @@ Suggests:
WRS2
VignetteBuilder:
knitr
Remotes:
IndrajeetPatil/statsExpressions
Encoding: UTF-8
Language: en-US
LazyData: true
Expand Down
5 changes: 4 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ggstatsplot 0.5.0.9000
# ggstatsplot 0.6.0

NEW FEATURES

Expand All @@ -13,6 +13,9 @@ NEW FEATURES

- `ggbetweenstats` and `ggwithinstats` gain `ggsignif.args` argument to make
it easy to change aesthetics of the pairwise comparison geom.

- The subtitle and caption for Bayes Factor tests now also provide information
about posterior estimates, when relevant.

MAJOR CHANGES

Expand Down
22 changes: 6 additions & 16 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ knitr::opts_chunk$set(

Package | Status | Usage | GitHub | References
----------------- | ----------------- | ----------------- | ----------------- | -----------------
[![CRAN_Release_Badge](https://www.r-pkg.org/badges/version-ago/ggstatsplot)](https://CRAN.R-project.org/package=ggstatsplot) | [![Travis Build Status](https://travis-ci.org/IndrajeetPatil/ggstatsplot.svg?branch=master)](https://travis-ci.org/IndrajeetPatil/ggstatsplot) | [![Daily downloads badge](https://cranlogs.r-pkg.org/badges/last-day/ggstatsplot?color=blue)](https://CRAN.R-project.org/package=ggstatsplot) | [![GitHub version](https://img.shields.io/badge/GitHub-0.4.0.9000-orange.svg?style=flat-square)](https://github.com/IndrajeetPatil/ggstatsplot/) | [![Website](https://img.shields.io/badge/website-ggstatsplot-orange.svg?colorB=E91E63)](https://indrajeetpatil.github.io/ggstatsplot/)
[![CRAN_Release_Badge](https://www.r-pkg.org/badges/version-ago/ggstatsplot)](https://CRAN.R-project.org/package=ggstatsplot) | [![Travis Build Status](https://travis-ci.org/IndrajeetPatil/ggstatsplot.svg?branch=master)](https://travis-ci.org/IndrajeetPatil/ggstatsplot) | [![Daily downloads badge](https://cranlogs.r-pkg.org/badges/last-day/ggstatsplot?color=blue)](https://CRAN.R-project.org/package=ggstatsplot) | [![GitHub version](https://img.shields.io/badge/GitHub-0.6.0.9000-orange.svg?style=flat-square)](https://github.com/IndrajeetPatil/ggstatsplot/) | [![Website](https://img.shields.io/badge/website-ggstatsplot-orange.svg?colorB=E91E63)](https://indrajeetpatil.github.io/ggstatsplot/)
[![CRAN Checks](https://cranchecks.info/badges/summary/ggstatsplot)](https://cran.r-project.org/web/checks/check_results_ggstatsplot.html) | [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/IndrajeetPatil/ggstatsplot?branch=master&svg=true)](https://ci.appveyor.com/project/IndrajeetPatil/ggstatsplot) | [![Weekly downloads badge](https://cranlogs.r-pkg.org/badges/last-week/ggstatsplot?color=blue)](https://CRAN.R-project.org/package=ggstatsplot) | [![Forks](https://img.shields.io/badge/forks-`r itdepends:::get_github_info("ggstatsplot")$forks[[1]]`-blue.svg)](https://github.com/IndrajeetPatil/ggstatsplot/) | [![Features](https://img.shields.io/badge/features-ggstatsplot-orange.svg?colorB=2196F3)](https://indrajeetpatil.github.io/ggstatsplot/reference/index.html)
[![minimal R version](https://img.shields.io/badge/R%3E%3D-3.5.0-6666ff.svg)](https://cran.r-project.org/) | [![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/) | [![Monthly downloads badge](https://cranlogs.r-pkg.org/badges/last-month/ggstatsplot?color=blue)](https://CRAN.R-project.org/package=ggstatsplot) | [![Github Issues](https://img.shields.io/badge/issues-`r itdepends:::get_github_info("ggstatsplot")$open_issues[[1]]`-red.svg)](https://github.com/IndrajeetPatil/ggstatsplot/issues) | [![vignettes](https://img.shields.io/badge/vignettes-0.5.0-orange.svg?colorB=FF5722)](https://CRAN.R-project.org/package=ggstatsplot/vignettes/)
[![minimal R version](https://img.shields.io/badge/R%3E%3D-3.5.0-6666ff.svg)](https://cran.r-project.org/) | [![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/) | [![Monthly downloads badge](https://cranlogs.r-pkg.org/badges/last-month/ggstatsplot?color=blue)](https://CRAN.R-project.org/package=ggstatsplot) | [![Github Issues](https://img.shields.io/badge/issues-`r itdepends:::get_github_info("ggstatsplot")$open_issues[[1]]`-red.svg)](https://github.com/IndrajeetPatil/ggstatsplot/issues) | [![vignettes](https://img.shields.io/badge/vignettes-0.6.0-orange.svg?colorB=FF5722)](https://CRAN.R-project.org/package=ggstatsplot/vignettes/)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/IndrajeetPatil/ggstatsplot.svg)](https://github.com/IndrajeetPatil/ggstatsplot) | [![Coverage Status](https://coveralls.io/repos/github/IndrajeetPatil/ggstatsplot/badge.svg?branch=master)](https://coveralls.io/github/IndrajeetPatil/ggstatsplot?branch=master) | [![Total downloads badge](https://cranlogs.r-pkg.org/badges/grand-total/ggstatsplot?color=blue)](https://CRAN.R-project.org/package=ggstatsplot) | [![Github Stars](https://img.shields.io/github/stars/IndrajeetPatil/ggstatsplot.svg?style=social&label=Github)](https://github.com/IndrajeetPatil/ggstatsplot) | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2074621.svg)](https://doi.org/10.5281/zenodo.2074621)
[![Licence](https://img.shields.io/badge/licence-GPL--3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html) | [![Codecov test coverage](https://codecov.io/gh/IndrajeetPatil/ggstatsplot/branch/master/graph/badge.svg)](https://codecov.io/gh/IndrajeetPatil/ggstatsplot?branch=master) | [![HitCount](https://hits.dwyl.com/IndrajeetPatil/ggstatsplot.svg)](https://hits.dwyl.com/IndrajeetPatil/ggstatsplot) | [![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](https://github.com/IndrajeetPatil/ggstatsplot/commits/master) | [![GitHub last commit](https://img.shields.io/github/last-commit/IndrajeetPatil/ggstatsplot.svg)](https://github.com/IndrajeetPatil/ggstatsplot/commits/master)
[![status](https://tinyverse.netlify.com/badge/ggstatsplot)](https://CRAN.R-project.org/package=ggstatsplot) | [![R build status](https://github.com/IndrajeetPatil/ggstatsplot/workflows/R-CMD-check/badge.svg)](https://github.com/IndrajeetPatil/ggstatsplot) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/ggstatsplot/community) | [![Project Status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) | [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/IndrajeetPatil/ggstatsplot/issues)
Expand Down Expand Up @@ -148,16 +148,6 @@ remotes::install_github(
)
```

If you are not using the [RStudio IDE](https://www.rstudio.com/) and you get an
error related to "pandoc" you will either need to remove the argument
`build_vignettes = TRUE` (to avoid building the vignettes) or install
[pandoc](https://pandoc.org/). If you have the `rmarkdown` R package installed
then you can check if you have pandoc by running the following in R:

```{r pandoc}
rmarkdown::pandoc_available()
```

# Citation

If you want to cite this package in a scientific journal or in any other
Expand Down Expand Up @@ -505,7 +495,7 @@ Type | Test | CI?
Parametric | Pearson's correlation coefficient | <font color="green">Yes<font>
Non-parametric | Spearman's rank correlation coefficient | <font color="green">Yes<font>
Robust | Percentage bend correlation coefficient | <font color="green">Yes<font>
Bayes Factor | Pearson's correlation coefficient | <font color="red">No<font>
Bayes Factor | Pearson's correlation coefficient | <font color="green">Yes<font>

For more, see the `ggscatterstats` vignette:
<https://indrajeetpatil.github.io/ggstatsplot/articles/web_only/ggscatterstats.html>
Expand Down Expand Up @@ -741,11 +731,11 @@ Following effect sizes (and confidence intervals/CI) are available for each type
of test-

Type | Effect size | CI?
----------- | ------------------------- | ---
Parametric | Cohen's *d*, Hedge's *g* (central-and noncentral-*t* distribution based) | <font color="green">Yes<font>
------------ | ----------------------- | ---
Parametric | Cohen's *d*, Hedge's *g* (central-and noncentral-*t*) | <font color="green">Yes<font>
Non-parametric | *r* | <font color="green">Yes<font>
Robust | robust location measure | <font color="green">Yes<font>
Bayes Factor | <font color="red">No<font> | <font color="red">No<font>
Bayes Factor | <font color="green">Yes<font> | <font color="green">Yes<font>

For more, including information about the variant of this function
`grouped_gghistostats`, see the `gghistostats` vignette:
Expand Down
Loading

4 comments on commit e04911e

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: Avoid 1:nrow(...) expressions, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbetweenstats.R:174:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:208:1: style: functions should have cyclomatic complexity of less than 15, this has 38.

ggcoefstats <- function(x,
^

R/ggpiestats.R:75:1: style: functions should have cyclomatic complexity of less than 15, this has 20.

ggpiestats <- function(data,
^

R/ggscatterstats.R:99:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggscatterstats <- function(data,
^

R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 22.

ggwithinstats <- function(data,
^

vignettes/web_only/combine_plots.Rmd:99:17: style: Do not place spaces around code in parentheses or square brackets.

dplyr::mutate( 
                ^

vignettes/web_only/gallery.Rmd:71:3: style: Commented code should be removed.

# extrafont::font_import()
  ^~~~~~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:1350:20: style: Place a space before left parenthesis, except in a function call.

p <- 1 / (1 + exp(-(beta[1] + beta[2] * x)))
                   ^

vignettes/web_only/ggcoefstats.Rmd:1933:28: style: Place a space before left parenthesis, except in a function call.

gradtol.weights = 10^(-6)
                           ^

vignettes/web_only/ggcoefstats.Rmd:4110:3: style: Commented code should be removed.

# data("raceDolls")
  ^~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:4115:7: style: Commented code should be removed.

#     fixedMargin = "cols"
      ^~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcorrmat.Rmd:194:1: style: Lines should not be more than 120 characters.

​      paste(italic("Note"), ": Point shape denotes correlation non-significant at p < 0.008; adjusted for 6 comparisons")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: Avoid 1:nrow(...) expressions, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbetweenstats.R:174:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:208:1: style: functions should have cyclomatic complexity of less than 15, this has 38.

ggcoefstats <- function(x,
^

R/ggpiestats.R:75:1: style: functions should have cyclomatic complexity of less than 15, this has 20.

ggpiestats <- function(data,
^

R/ggscatterstats.R:99:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggscatterstats <- function(data,
^

R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 22.

ggwithinstats <- function(data,
^

vignettes/web_only/combine_plots.Rmd:99:17: style: Do not place spaces around code in parentheses or square brackets.

dplyr::mutate( 
                ^

vignettes/web_only/gallery.Rmd:71:3: style: Commented code should be removed.

# extrafont::font_import()
  ^~~~~~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:1350:20: style: Place a space before left parenthesis, except in a function call.

p <- 1 / (1 + exp(-(beta[1] + beta[2] * x)))
                   ^

vignettes/web_only/ggcoefstats.Rmd:1933:28: style: Place a space before left parenthesis, except in a function call.

gradtol.weights = 10^(-6)
                           ^

vignettes/web_only/ggcoefstats.Rmd:4110:3: style: Commented code should be removed.

# data("raceDolls")
  ^~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:4115:7: style: Commented code should be removed.

#     fixedMargin = "cols"
      ^~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcorrmat.Rmd:194:1: style: Lines should not be more than 120 characters.

​      paste(italic("Note"), ": Point shape denotes correlation non-significant at p < 0.008; adjusted for 6 comparisons")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: Avoid 1:nrow(...) expressions, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbetweenstats.R:174:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:208:1: style: functions should have cyclomatic complexity of less than 15, this has 38.

ggcoefstats <- function(x,
^

R/ggpiestats.R:75:1: style: functions should have cyclomatic complexity of less than 15, this has 20.

ggpiestats <- function(data,
^

R/ggscatterstats.R:99:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggscatterstats <- function(data,
^

R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 22.

ggwithinstats <- function(data,
^

vignettes/web_only/combine_plots.Rmd:99:17: style: Do not place spaces around code in parentheses or square brackets.

dplyr::mutate( 
                ^

vignettes/web_only/gallery.Rmd:71:3: style: Commented code should be removed.

# extrafont::font_import()
  ^~~~~~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:1350:20: style: Place a space before left parenthesis, except in a function call.

p <- 1 / (1 + exp(-(beta[1] + beta[2] * x)))
                   ^

vignettes/web_only/ggcoefstats.Rmd:1933:28: style: Place a space before left parenthesis, except in a function call.

gradtol.weights = 10^(-6)
                           ^

vignettes/web_only/ggcoefstats.Rmd:4110:3: style: Commented code should be removed.

# data("raceDolls")
  ^~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:4115:7: style: Commented code should be removed.

#     fixedMargin = "cols"
      ^~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcorrmat.Rmd:194:1: style: Lines should not be more than 120 characters.

​      paste(italic("Note"), ": Point shape denotes correlation non-significant at p < 0.008; adjusted for 6 comparisons")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-raw/Titanic_full.R:16:10: warning: Avoid 1:nrow(...) expressions, use seq_len.

df[rep(1:nrow(df), rep), ]
         ^

R/ggbetweenstats.R:174:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:208:1: style: functions should have cyclomatic complexity of less than 15, this has 38.

ggcoefstats <- function(x,
^

R/ggpiestats.R:75:1: style: functions should have cyclomatic complexity of less than 15, this has 20.

ggpiestats <- function(data,
^

R/ggscatterstats.R:99:1: style: functions should have cyclomatic complexity of less than 15, this has 25.

ggscatterstats <- function(data,
^

R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 22.

ggwithinstats <- function(data,
^

vignettes/web_only/combine_plots.Rmd:99:17: style: Do not place spaces around code in parentheses or square brackets.

dplyr::mutate( 
                ^

vignettes/web_only/gallery.Rmd:71:3: style: Commented code should be removed.

# extrafont::font_import()
  ^~~~~~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:1350:20: style: Place a space before left parenthesis, except in a function call.

p <- 1 / (1 + exp(-(beta[1] + beta[2] * x)))
                   ^

vignettes/web_only/ggcoefstats.Rmd:1933:28: style: Place a space before left parenthesis, except in a function call.

gradtol.weights = 10^(-6)
                           ^

vignettes/web_only/ggcoefstats.Rmd:4110:3: style: Commented code should be removed.

# data("raceDolls")
  ^~~~~~~~~~~~~~~~~

vignettes/web_only/ggcoefstats.Rmd:4115:7: style: Commented code should be removed.

#     fixedMargin = "cols"
      ^~~~~~~~~~~~~~~~~~~~

vignettes/web_only/ggcorrmat.Rmd:194:1: style: Lines should not be more than 120 characters.

​      paste(italic("Note"), ": Point shape denotes correlation non-significant at p < 0.008; adjusted for 6 comparisons")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please sign in to comment.