Skip to content

Commit

Permalink
prepare for cran submission
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Feb 14, 2020
1 parent 0ecb289 commit 832a536
Show file tree
Hide file tree
Showing 59 changed files with 689 additions and 690 deletions.
3 changes: 1 addition & 2 deletions API
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ bf_extractor(bf.object, ...)
bf_meta(data, d = prior, norm, c(mean = 0, sd = 0.3), tau = prior, invgamma, c(shape = 1, scale = 0.15), k = 2, output = "null", caption = NULL, messages = TRUE, ...)
bf_oneway_anova(data, x, y, bf.prior = 0.707, caption = NULL, output = "null", paired = FALSE, k = 2, ...)
bf_ttest(data, x, y = NULL, test.value = 0, paired = FALSE, bf.prior = 0.707, caption = NULL, output = "null", k = 2, ...)
corr_objects(data, ci = FALSE, corr.method = "pearson", p.adjust.method = "none", beta = 0.1, k = 2, ...)
expr_anova_bayes(data, x, y, paired = FALSE, bf.prior = 0.707, k = 2, ...)
expr_anova_nonparametric(data, x, y, paired = FALSE, conf.type = "perc", conf.level = 0.95, k = 2, nboot = 100, stat.title = NULL, messages = TRUE, ...)
expr_anova_parametric(data, x, y, paired = FALSE, effsize.type = "unbiased", partial = TRUE, conf.level = 0.95, nboot = 100, var.equal = FALSE, sphericity.correction = TRUE, k = 2, stat.title = NULL, messages = TRUE, ...)
Expand All @@ -20,5 +21,3 @@ expr_t_onesample(data, x, type = "parametric", test.value = 0, bf.prior = 0.707,
expr_t_parametric(data, x, y, paired = FALSE, effsize.type = "g", effsize.noncentral = TRUE, conf.level = 0.95, var.equal = FALSE, k = 2, stat.title = NULL, ...)
expr_t_robust(data, x, y, tr = 0.1, paired = FALSE, nboot = 100, conf.level = 0.95, conf.type = "norm", k = 2, stat.title = NULL, messages = TRUE, ...)
expr_template(no.parameters, stat.title = NULL, statistic.text, stats.df, effsize.text, effsize.df, n, conf.level = 0.95, k = 2, k.parameter = 0, k.parameter2 = 0, n.text = NULL, ...)
long_to_wide_converter(data, x, y, paired = TRUE)
specify_decimal_p(x, k = 3, p.value = FALSE)
32 changes: 15 additions & 17 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: statsExpressions
Title: Expressions with Statistical Details
Version: 0.3.0.9000
Version: 0.3.1
Authors@R:
c(person(given = "Indrajeet",
family = "Patil",
Expand All @@ -28,24 +28,24 @@ BugReports:
Depends:
R (>= 3.5.0)
Imports:
BayesFactor (>= 0.9.12-4.2),
BayesFactor,
boot,
broomExtra (>= 1.0.1),
dplyr (>= 0.8.3),
ez (>= 4.4-0),
dplyr,
ez,
ipmisc (>= 1.1.0),
metaBMA (>= 0.6.2),
metafor (>= 2.1-0),
metaplus (>= 0.7-11),
psych (>= 1.9.12.31),
purrr (>= 0.3.3),
rcompanion (>= 2.3.21),
rlang (>= 0.4.2),
sjstats (>= 0.17.7),
metaBMA,
metafor,
metaplus,
psych,
purrr,
rcompanion,
rlang,
sjstats,
stats,
tibble (>= 2.1.3),
tidyr (>= 1.0.0),
WRS2 (>= 1.0-0)
tibble,
tidyr,
WRS2
Suggests:
ggplot2,
knitr,
Expand All @@ -54,8 +54,6 @@ Suggests:
testthat
VignetteBuilder:
knitr
Remotes:
IndrajeetPatil/ipmisc
Encoding: UTF-8
Language: en-US
LazyData: true
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# statsExpressions 0.3.0.9000
# statsExpressions 0.3.1

- Adds a new function `corr_objects` to reduce dependency load of
`ggstatsplot`. This is an experimental function and should be avoided until
it stabilizes.

# statsExpressions 0.3.0

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

Package | Status | Usage | GitHub | References
----------------- | ----------------- | ----------------- | ----------------- | -----------------
[![CRAN_Release_Badge](http://www.r-pkg.org/badges/version-ago/statsExpressions)](https://CRAN.R-project.org/package=statsExpressions) | [![Build Status](https://travis-ci.org/IndrajeetPatil/statsExpressions.svg?branch=master)](https://travis-ci.org/IndrajeetPatil/statsExpressions) | [![Daily downloads badge](https://cranlogs.r-pkg.org/badges/last-day/statsExpressions?color=blue)](https://CRAN.R-project.org/package=statsExpressions) | [![GitHub version](https://img.shields.io/badge/GitHub-0.3.0.9000-orange.svg?style=flat-square)](https://github.com/IndrajeetPatil/statsExpressions/) | [![Website](https://img.shields.io/badge/website-statsExpressions-orange.svg?colorB=E91E63)](https://indrajeetpatil.github.io/statsExpressions/)
[![CRAN_Release_Badge](http://www.r-pkg.org/badges/version-ago/statsExpressions)](https://CRAN.R-project.org/package=statsExpressions) | [![Build Status](https://travis-ci.org/IndrajeetPatil/statsExpressions.svg?branch=master)](https://travis-ci.org/IndrajeetPatil/statsExpressions) | [![Daily downloads badge](https://cranlogs.r-pkg.org/badges/last-day/statsExpressions?color=blue)](https://CRAN.R-project.org/package=statsExpressions) | [![GitHub version](https://img.shields.io/badge/GitHub-0.3.1.9000-orange.svg?style=flat-square)](https://github.com/IndrajeetPatil/statsExpressions/) | [![Website](https://img.shields.io/badge/website-statsExpressions-orange.svg?colorB=E91E63)](https://indrajeetpatil.github.io/statsExpressions/)
[![CRAN Checks](https://cranchecks.info/badges/summary/statsExpressions)](https://cran.r-project.org/web/checks/check_results_statsExpressions.html) | [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/IndrajeetPatil/statsExpressions?branch=master&svg=true)](https://ci.appveyor.com/project/IndrajeetPatil/statsExpressions) | [![Weekly downloads badge](https://cranlogs.r-pkg.org/badges/last-week/statsExpressions?color=blue)](https://CRAN.R-project.org/package=statsExpressions) | [![Forks](https://img.shields.io/badge/forks-`r itdepends:::get_github_info("statsExpressions")$forks[[1]]`-blue.svg)](https://github.com/IndrajeetPatil/statsExpressions/) | [![Rdoc](https://www.rdocumentation.org/badges/version/statsExpressions)](https://www.rdocumentation.org/packages/statsExpressions)
[![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/statsExpressions?color=blue)](https://CRAN.R-project.org/package=statsExpressions) | [![Github Issues](https://img.shields.io/badge/issues-`r itdepends:::get_github_info("statsExpressions")$open_issues[[1]]`-red.svg)](https://github.com/IndrajeetPatil/statsExpressions/issues) | [![vignettes](https://img.shields.io/badge/vignettes-0.3.0-orange.svg?colorB=FF5722)](https://CRAN.R-project.org/package=statsExpressions/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/statsExpressions?color=blue)](https://CRAN.R-project.org/package=statsExpressions) | [![Github Issues](https://img.shields.io/badge/issues-`r itdepends:::get_github_info("statsExpressions")$open_issues[[1]]`-red.svg)](https://github.com/IndrajeetPatil/statsExpressions/issues) | [![vignettes](https://img.shields.io/badge/vignettes-0.3.1-orange.svg?colorB=FF5722)](https://CRAN.R-project.org/package=statsExpressions/vignettes/)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/IndrajeetPatil/statsExpressions.svg)](https://github.com/IndrajeetPatil/statsExpressions) | [![Coverage Status](https://coveralls.io/repos/github/IndrajeetPatil/statsExpressions/badge.svg?branch=master)](https://coveralls.io/github/IndrajeetPatil/statsExpressions?branch=master) | [![Total downloads badge](https://cranlogs.r-pkg.org/badges/grand-total/statsExpressions?color=blue)](https://CRAN.R-project.org/package=statsExpressions) | [![Github Stars](https://img.shields.io/github/stars/IndrajeetPatil/statsExpressions.svg?style=social&label=Github)](https://github.com/IndrajeetPatil/statsExpressions) | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2074621.svg)](https://doi.org/10.5281/zenodo.3386122)
[![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/statsExpressions/branch/master/graph/badge.svg)](https://codecov.io/gh/IndrajeetPatil/statsExpressions?branch=master) | [![HitCount](http://hits.dwyl.com/IndrajeetPatil/statsExpressions.svg)](http://hits.dwyl.com/IndrajeetPatil/statsExpressions) | [![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](https://github.com/IndrajeetPatil/statsExpressions/commits/master) | [![GitHub last commit](https://img.shields.io/github/last-commit/IndrajeetPatil/statsExpressions.svg)](https://github.com/IndrajeetPatil/statsExpressions/commits/master)
[![status](https://tinyverse.netlify.com/badge/statsExpressions)](https://CRAN.R-project.org/package=statsExpressions) | [![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2020_02_13-yellowgreen.svg)](https://github.com/IndrajeetPatil/statsExpressions/blob/master/tests/README.md) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/statsExpressions/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/statsExpressions/issues)
[![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/statsExpressions/branch/master/graph/badge.svg)](https://codecov.io/gh/IndrajeetPatil/statsExpressions?branch=master) | [![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2020_02_14-yellowgreen.svg)](https://github.com/IndrajeetPatil/statsExpressions/blob/master/tests/README.md) | [![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](https://github.com/IndrajeetPatil/statsExpressions/commits/master) | [![GitHub last commit](https://img.shields.io/github/last-commit/IndrajeetPatil/statsExpressions.svg)](https://github.com/IndrajeetPatil/statsExpressions/commits/master)
[![status](https://tinyverse.netlify.com/badge/statsExpressions)](https://CRAN.R-project.org/package=statsExpressions) | [![R build status](https://github.com/IndrajeetPatil/statsExpressions/workflows/R-CMD-check/badge.svg)](https://github.com/IndrajeetPatil/statsExpressions) | [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/statsExpressions/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/statsExpressions/issues)

# Introduction

Expand All @@ -43,16 +43,16 @@ create these expressions.

# Installation

To get the latest, stable `CRAN` release (`0.3.0`):
To get the latest, stable `CRAN` release:

```{r installationCRAN, eval = FALSE}
install.packages(pkgs = "statsExpressions")
```

You can get the **development** version of the package from `GitHub`
(`0.3.0.9000`). To see what new changes (and bug fixes) have been made to the
package since the last release on `CRAN`, you can check the detailed log of
changes here: <https://indrajeetpatil.github.io/statsExpressions/news/index.html>
You can get the **development** version of the package from `GitHub`. To see
what new changes (and bug fixes) have been made to the package since the last
release on `CRAN`, you can check the detailed log of changes here:
<https://indrajeetpatil.github.io/statsExpressions/news/index.html>

If you are in hurry and want to reduce the time of installation,
prefer-
Expand Down
Loading

4 comments on commit 832a536

@lintr-bot
Copy link

Choose a reason for hiding this comment

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

R/helpers_contingency_tabs_expressions.R:86:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

expr_contingency_tab <- function(data,
^

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

effsize_t_parametric <- function(formula = NULL,
^

R/helpers_effsize_ci.R:440:3: warning: local variable ‘sample_size’ assigned but may not be used

sample_size <- nrow(data_wide)
  ^~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

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

R/helpers_contingency_tabs_expressions.R:86:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

expr_contingency_tab <- function(data,
^

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

effsize_t_parametric <- function(formula = NULL,
^

R/helpers_effsize_ci.R:440:3: warning: local variable ‘sample_size’ assigned but may not be used

sample_size <- nrow(data_wide)
  ^~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

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

R/helpers_contingency_tabs_expressions.R:86:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

expr_contingency_tab <- function(data,
^

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

effsize_t_parametric <- function(formula = NULL,
^

R/helpers_effsize_ci.R:440:3: warning: local variable ‘sample_size’ assigned but may not be used

sample_size <- nrow(data_wide)
  ^~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

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

R/helpers_contingency_tabs_expressions.R:86:1: style: functions should have cyclomatic complexity of less than 15, this has 16.

expr_contingency_tab <- function(data,
^

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

effsize_t_parametric <- function(formula = NULL,
^

R/helpers_effsize_ci.R:440:3: warning: local variable ‘sample_size’ assigned but may not be used

sample_size <- nrow(data_wide)
  ^~~~~~~~~~~

Please sign in to comment.