Skip to content

Commit

Permalink
cran submission
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jan 29, 2020
1 parent de42720 commit 8d9fe84
Show file tree
Hide file tree
Showing 64 changed files with 681 additions and 676 deletions.
4 changes: 3 additions & 1 deletion API
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ bf_contingency_tab(data, x, y = NULL, counts = NULL, ratio = NULL, sampling.plan
bf_corr_test(data, x, y, bf.prior = 0.707, caption = NULL, output = "null", k = 2, ...)
bf_expr(bf.df, k = 2, output = "null", caption = NULL, ...)
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, caption = NULL, messages = TRUE, ...)
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, ...)
expr_anova_bayes(data, x, y, paired = FALSE, bf.prior = 0.707, k = 2, ...)
Expand All @@ -11,6 +11,7 @@ expr_anova_parametric(data, x, y, paired = FALSE, effsize.type = "unbiased", par
expr_anova_robust(data, x, y, paired = FALSE, tr = 0.1, nboot = 100, conf.level = 0.95, conf.type = "norm", k = 2, stat.title = NULL, messages = TRUE, ...)
expr_contingency_tab(data, x, y = NULL, counts = NULL, ratio = NULL, nboot = 100, paired = FALSE, stat.title = NULL, legend.title = NULL, conf.level = 0.95, conf.type = "norm", bias.correct = TRUE, k = 2, messages = TRUE, ...)
expr_corr_test(data, x, y, nboot = 100, beta = 0.1, type = "pearson", bf.prior = 0.707, conf.level = 0.95, conf.type = "norm", k = 2, stat.title = NULL, messages = TRUE, ...)
expr_meta_bayes(data, d = prior, norm, c(mean = 0, sd = 0.3), tau = prior, invgamma, c(shape = 1, scale = 0.15), k = 2, messages = TRUE, ...)
expr_meta_parametric(data, conf.level = 0.95, k = 2, messages = FALSE, output = "subtitle", caption = NULL, ...)
expr_meta_robust(data, random = "mixture", k = 2, messages = FALSE, ...)
expr_t_bayes(data, x, y, bf.prior = 0.707, paired = FALSE, k = 2, ...)
Expand All @@ -20,3 +21,4 @@ expr_t_parametric(data, x, y, paired = FALSE, effsize.type = "g", effsize.noncen
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)
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-01-22.
Once it is accepted, delete this file and tag the release (commit 2dd7fe859a).
This package was submitted to CRAN on 2020-01-29.
Once it is accepted, delete this file and tag the release (commit de42720a84).
2 changes: 1 addition & 1 deletion 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.2.1.9000
Version: 0.3.0
Authors@R:
c(person(given = "Indrajeet",
family = "Patil",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# statsExpressions 0.2.1.9000
# statsExpressions 0.3.0

NEW FEATURES

Expand Down
4 changes: 2 additions & 2 deletions R/helpers_anova_expressions.R
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ expr_anova_robust <- function(data,
",",
df2,
") = ",
estimate,
statistic,
", ",
italic("p"),
" = ",
Expand All @@ -571,7 +571,7 @@ expr_anova_robust <- function(data,
n
),
env = list(
estimate = specify_decimal_p(x = stats_df$test[[1]], k = k),
statistic = specify_decimal_p(x = stats_df$test[[1]], k = k),
df1 = specify_decimal_p(x = stats_df$df1[[1]], k = k),
df2 = specify_decimal_p(x = stats_df$df2[[1]], k = k),
p.value = specify_decimal_p(x = stats_df$p.value[[1]], k = k, p.value = TRUE),
Expand Down
10 changes: 5 additions & 5 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.2.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_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 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.2.1-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.0-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.io/IndrajeetPatil/statsExpressions.svg)](http://hits.dwyl.io/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_01_24-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)
[![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_01_29-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)

# Introduction

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

# Installation

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

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

You can get the **development** version of the package from `GitHub`
(`0.2.1.9000`). To see what new changes (and bug fixes) have been made to the
(`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>

Expand Down
Loading

6 comments on commit 8d9fe84

@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)
  ^~~~~~~~~~~

@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.