Skip to content

Commit

Permalink
addressing cran issues
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Nov 21, 2019
1 parent 047ea4d commit 4d7054c
Show file tree
Hide file tree
Showing 62 changed files with 352 additions and 214 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ matrix:
- bindrcpp
- car
- rio
- jmv
r_packages:
- purrr
- tidyr
Expand Down Expand Up @@ -138,6 +139,7 @@ matrix:
- bindrcpp
- car
- rio
- jmv
r_packages:
- purrr
- tidyr
Expand All @@ -147,7 +149,6 @@ matrix:
- oompaBase
- palr
- coin
- jmv
- sjstats
- WRS2
- scico
Expand Down
2 changes: 1 addition & 1 deletion CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2019-11-21.
Once it is accepted, delete this file and tag the release (commit 5be9645956).
Once it is accepted, delete this file and tag the release (commit 047ea4d23f).
2 changes: 2 additions & 0 deletions R/ggbetweenstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
#' \url{https://indrajeetpatil.github.io/ggstatsplot/articles/web_only/ggbetweenstats.html}
#'
#' @examples
#' \donttest{
#' # to get reproducible results from bootstrapping
#' set.seed(123)
#' library(ggstatsplot)
Expand Down Expand Up @@ -188,6 +189,7 @@
#' ggtheme = ggplot2::theme_grey(),
#' ggstatsplot.layer = FALSE
#' )
#' }
#' @export

# defining the function
Expand Down
3 changes: 2 additions & 1 deletion R/ggcoefstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
#' meta.analytic.effect = TRUE,
#' k = 3
#' )
#' }
#'
#' # -------------- getting model summary ------------------------------
#'
#' # model
Expand Down Expand Up @@ -276,6 +276,7 @@
#' output = "augment",
#' type.predict = "risk"
#' )
#' }
#' @export

# function body
Expand Down
3 changes: 2 additions & 1 deletion R/ggcorrmat.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
#' \url{https://indrajeetpatil.github.io/ggstatsplot/articles/web_only/ggcorrmat.html}
#'
#' @examples
#'
#' \donttest{
#' # for reproducibility
#' set.seed(123)
#'
Expand Down Expand Up @@ -161,6 +161,7 @@
#' outline.col = "white",
#' title = "Dataset: Iris"
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/ggdotplotstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#' \code{\link{grouped_ggdotplotstats}}
#'
#' @examples
#' \donttest{
#' # for reproducibility
#' set.seed(123)
#'
Expand All @@ -41,6 +42,7 @@
#' paste(italic("Source"), ": EPA dataset on http://fueleconomy.gov")
#' )
#' )
#' }
#' @export

# function body
Expand Down
3 changes: 2 additions & 1 deletion R/gghistostats.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#' \url{https://indrajeetpatil.github.io/ggstatsplot/articles/web_only/gghistostats.html}
#'
#' @examples
#'
#' \donttest{
#' # most basic function call with the defaults
#' # this is the **only** function where data argument can be `NULL`
#' ggstatsplot::gghistostats(
Expand All @@ -73,6 +73,7 @@
#' binwidth = 0.10,
#' bar.fill = "grey50"
#' )
#' }
#' @export

# function body
Expand Down
3 changes: 2 additions & 1 deletion R/ggscatterstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
#' have a lot of labels that overlap.
#'
#' @examples
#'
#' \donttest{
#' # to get reproducible results from bootstrapping
#' set.seed(123)
#'
Expand All @@ -90,6 +90,7 @@
#' centrality.para = "median",
#' xfill = NULL
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/ggwithinstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#' For independent measures designs, use `ggbetweenstats`.
#'
#' @examples
#' \donttest{
#' # setup
#' set.seed(123)
#' library(ggstatsplot)
Expand All @@ -55,6 +56,7 @@
#' outlier.tagging = TRUE,
#' outlier.label = Taster
#' )
#' }
#' @export

# defining the function
Expand Down
3 changes: 2 additions & 1 deletion R/grouped_ggbarstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' @inherit ggbarstats return return
#'
#' @examples
#'
#' \donttest{
#' # with condition and with count data
#' library(jmv)
#'
Expand Down Expand Up @@ -58,6 +58,7 @@
#' perc.k = 1,
#' nrow = 2
#' )
#' }
#' @export

# defining the function
Expand Down
3 changes: 2 additions & 1 deletion R/grouped_ggbetweenstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' @inherit ggbetweenstats return details
#'
#' @examples
#'
#' \donttest{
#' # to get reproducible results from bootstrapping
#' set.seed(123)
#'
Expand Down Expand Up @@ -55,6 +55,7 @@
#' ),
#' messages = FALSE
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/grouped_ggcorrmat.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#' @inherit ggcorrmat return details
#'
#' @examples
#' \donttest{
#' # for reproducibility
#' set.seed(123)
#'
Expand Down Expand Up @@ -62,6 +63,7 @@
#' cor.vars = Sepal.Length:Petal.Width,
#' output = "ci"
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/grouped_ggdotplotstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#' @inherit ggdotplotstats return details
#'
#' @examples
#' \donttest{
#' # for reproducibility
#' set.seed(123)
#'
Expand All @@ -42,6 +43,7 @@
#' ),
#' messages = FALSE
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/grouped_gghistostats.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#' @inherit gghistostats return details
#'
#' @examples
#' \donttest{
#' # for reproducibility
#' set.seed(123)
#'
Expand All @@ -38,6 +39,7 @@
#' ),
#' messages = FALSE
#' )
#' }
#' @export
#'

Expand Down
3 changes: 2 additions & 1 deletion R/grouped_ggpiestats.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' @inherit ggpiestats return return
#'
#' @examples
#'
#' \donttest{
#' # grouped one-sample proportion tests
#' ggstatsplot::grouped_ggpiestats(
#' data = mtcars,
Expand Down Expand Up @@ -61,6 +61,7 @@
#' perc.k = 1,
#' nrow = 3
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/grouped_ggscatterstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#' @inherit ggscatterstats return details
#'
#' @examples
#' \donttest{
#' # to ensure reproducibility
#' set.seed(123)
#'
Expand Down Expand Up @@ -75,6 +76,7 @@
#' title.prefix = "Genre",
#' caption.text = "All movies have IMDB rating equal to 7."
#' )
#' }
#' @export

# defining the function
Expand Down
2 changes: 2 additions & 0 deletions R/grouped_ggwithinstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#' @inherit ggwithinstats return details
#'
#' @examples
#' \donttest{
#' # to get reproducible results from bootstrapping
#' set.seed(123)
#' library(ggstatsplot)
Expand All @@ -38,6 +39,7 @@
#' ),
#' messages = TRUE
#' )
#' }
#' @export

# defining the function
Expand Down
3 changes: 2 additions & 1 deletion R/helpers_ggcatstats_graphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
#' @importFrom rlang !! :=
#'
#' @examples
#'
#' \donttest{
#' # dataframe with label column
#' ggstatsplot:::cat_label_df(
#' data = ggstatsplot:::cat_counter(mtcars, am, cyl),
#' label.col.name = "slice.label",
#' label.content = "both",
#' perc.k = 1
#' )
#' }
#' @keywords internal

# function body
Expand Down
2 changes: 2 additions & 0 deletions R/helpers_ggcoefstats_graphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#' @importFrom insight is_model find_statistic
#'
#' @examples
#' \donttest{
#' # show all columns in output tibble
#' options(tibble.width = Inf)
#'
Expand Down Expand Up @@ -94,6 +95,7 @@
#' effsize = "omega",
#' partial = FALSE
#' )
#' }
#' @keywords internal

# function body
Expand Down
2 changes: 2 additions & 0 deletions R/helpers_gghistostats_graphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ line_labeler <- line_labeller
#' for centrality parameter label. (Default: `2`).
#'
#' @examples
#' \donttest{
#' library(ggplot2)
#'
#' # creating a ploton which lines and labels are to be superposed
Expand All @@ -133,6 +134,7 @@ line_labeler <- line_labeller
#' y.label.position = y_label_pos,
#' test.value.line = TRUE
#' )
#' }
#' @keywords internal

# function body
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Package | Status | Usage | GitHub | References
[![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.1.3-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](http://hits.dwyl.io/IndrajeetPatil/ggstatsplot.svg)](http://hits.dwyl.io/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) | [![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2019_11_14-yellowgreen.svg)](https://github.com/IndrajeetPatil/ggstatsplot/blob/master/tests/README.md) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/ggstatsplot/community) | [![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) | [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/IndrajeetPatil/ggstatsplot/issues)
[![status](https://tinyverse.netlify.com/badge/ggstatsplot)](https://CRAN.R-project.org/package=ggstatsplot) | [![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2019_11_21-yellowgreen.svg)](https://github.com/IndrajeetPatil/ggstatsplot/blob/master/tests/README.md) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/ggstatsplot/community) | [![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) | [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/IndrajeetPatil/ggstatsplot/issues)

# Raison d'être

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| [![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-21-red.svg)](https://github.com/IndrajeetPatil/ggstatsplot/issues) | [![vignettes](https://img.shields.io/badge/vignettes-0.1.3-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](http://hits.dwyl.io/IndrajeetPatil/ggstatsplot.svg)](http://hits.dwyl.io/IndrajeetPatil/ggstatsplot) | [![Last-changedate](https://img.shields.io/badge/last%20change-2019--11--21-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) | [![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2019_11_14-yellowgreen.svg)](https://github.com/IndrajeetPatil/ggstatsplot/blob/master/tests/README.md) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/ggstatsplot/community) | [![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) | [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/IndrajeetPatil/ggstatsplot/issues) |
| [![status](https://tinyverse.netlify.com/badge/ggstatsplot)](https://CRAN.R-project.org/package=ggstatsplot) | [![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2019_11_21-yellowgreen.svg)](https://github.com/IndrajeetPatil/ggstatsplot/blob/master/tests/README.md) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/ggstatsplot/community) | [![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) | [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/IndrajeetPatil/ggstatsplot/issues) |

# Raison d’être

Expand Down Expand Up @@ -217,7 +217,7 @@ ggstatsplot::ggplot_converter
#> function(plot) {
#> cowplot::ggdraw() + cowplot::draw_grob(grid::grobTree(plot))
#> }
#> <bytecode: 0x0000000027c733d0>
#> <bytecode: 0x000002530d0d0b38>
#> <environment: namespace:ggstatsplot>
```

Expand Down
Binary file modified Rplots.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/index.html

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

15 changes: 8 additions & 7 deletions docs/reference/cat_label_df.html

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

Loading

0 comments on commit 4d7054c

Please sign in to comment.