Skip to content

Commit

Permalink
CRAN 1.0.0 (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattansb authored Dec 10, 2024
1 parent 21fc13c commit 4f3b9a1
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 154 deletions.
15 changes: 7 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
Type: Package
Package: effectsize
Title: Indices of Effect Size
Version: 0.8.9.1
Version: 1.0.0
Authors@R:
c(person(given = "Mattan S.",
family = "Ben-Shachar",
role = c("aut", "cre"),
email = "mattansb@msbstats.info",
comment = c(ORCID = "0000-0002-4287-4801", Twitter = "@mattansb")),
comment = c(ORCID = "0000-0002-4287-4801")),
person(given = "Dominique",
family = "Makowski",
role = "aut",
email = "dom.makowski@gmail.com",
comment = c(ORCID = "0000-0001-5375-9967", Twitter = "@Dom_Makowski")),
comment = c(ORCID = "0000-0001-5375-9967")),
person(given = "Daniel",
family = "Lüdecke",
role = "aut",
email = "d.luedecke@uke.de",
comment = c(ORCID = "0000-0002-8895-3206", Twitter = "@strengejacke")),
comment = c(ORCID = "0000-0002-8895-3206")),
person(given = "Indrajeet",
family = "Patil",
role = "aut",
email = "patilindrajeet.science@gmail.com",
comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets")),
comment = c(ORCID = "0000-0003-1995-6531")),
person(given = "Brenton M.",
family = "Wiernik",
role = "aut",
email = "brenton@wiernik.org",
comment = c(ORCID = "0000-0001-9560-6336", Twitter = "@bmwiernik")),
comment = c(ORCID = "0000-0001-9560-6336")),
person(given = "Rémi",
family = "Thériault",
role = "aut",
email = "remi.theriault@mail.mcgill.ca",
comment = c(ORCID = "0000-0003-4315-6788", Twitter = "@rempsyc")),
comment = c(ORCID = "0000-0003-4315-6788")),
person(given = "Ken",
family = "Kelley",
role = "ctb"),
Expand Down Expand Up @@ -112,4 +112,3 @@ Config/Needs/website:
rstudio/bslib,
r-lib/pkgdown,
easystats/easystatstemplate
Remotes: easystats/insight
14 changes: 0 additions & 14 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,9 @@ export(c_to_w)
export(chisq_to_cohens_w)
export(chisq_to_cramers_v)
export(chisq_to_fei)
export(chisq_to_normalized)
export(chisq_to_pearsons_c)
export(chisq_to_phi)
export(chisq_to_tschuprows_t)
export(cles)
export(cliffs_delta)
export(cohens_d)
export(cohens_f)
Expand All @@ -86,8 +84,6 @@ export(cohens_u1)
export(cohens_u2)
export(cohens_u3)
export(cohens_w)
export(common_language)
export(convert_d_to_common_language)
export(convert_d_to_oddsratio)
export(convert_d_to_r)
export(convert_odds_to_probs)
Expand All @@ -96,11 +92,8 @@ export(convert_oddsratio_to_r)
export(convert_probs_to_odds)
export(convert_r_to_d)
export(convert_r_to_oddsratio)
export(convert_rb_to_common_language)
export(cov_pooled)
export(cramers_v)
export(d_to_cles)
export(d_to_common_language)
export(d_to_logoddsratio)
export(d_to_oddsratio)
export(d_to_overlap)
Expand Down Expand Up @@ -133,14 +126,11 @@ export(interpret_cfi)
export(interpret_cohens_d)
export(interpret_cohens_g)
export(interpret_cramers_v)
export(interpret_d)
export(interpret_delta)
export(interpret_direction)
export(interpret_epsilon_squared)
export(interpret_ess)
export(interpret_eta_squared)
export(interpret_fei)
export(interpret_g)
export(interpret_gfi)
export(interpret_glass_delta)
export(interpret_hedges_g)
Expand All @@ -152,7 +142,6 @@ export(interpret_nnfi)
export(interpret_oddsratio)
export(interpret_omega_squared)
export(interpret_p)
export(interpret_parameters)
export(interpret_pd)
export(interpret_phi)
export(interpret_pnfi)
Expand Down Expand Up @@ -182,7 +171,6 @@ export(nnt_to_arr)
export(nnt_to_logoddsratio)
export(nnt_to_oddsratio)
export(nnt_to_riskratio)
export(normalized_chi)
export(odds_to_probs)
export(oddsratio)
export(oddsratio_to_arr)
Expand All @@ -206,8 +194,6 @@ export(r_to_oddsratio)
export(rank_biserial)
export(rank_epsilon_squared)
export(rank_eta_squared)
export(rb_to_cles)
export(rb_to_common_language)
export(rb_to_p_superiority)
export(rb_to_vda)
export(rb_to_wmw_odds)
Expand Down
5 changes: 4 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# effectsize 0.8.9.xxx
# effectsize 1.0.0

***First stable release of `{effectsize}`!***

## New features

Expand All @@ -8,6 +10,7 @@
## Breaking Changes

- `interpret_oddsratio()` drops the default `"chen2010"` as it was used incorrectly (thanks to @KohlRaphael).
- Functions that have been deprecated since _September 2022_ have been removed.

# effectsize 0.8.9

Expand Down
80 changes: 0 additions & 80 deletions R/zzz_deprecated.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,83 +64,3 @@ convert_r_to_oddsratio <- function(...) {
.Deprecated("r_to_oddsratio")
r_to_oddsratio(...)
}

# Older -------------------------------------------------------------------

#' @rdname effectsize_deprecated
#' @export
interpret_d <- function(...) {
.Deprecated("interpret_cohens_d")
interpret_cohens_d(...)
}

#' @rdname effectsize_deprecated
#' @export
interpret_g <- function(...) {
.Deprecated("interpret_hedges_g")
interpret_hedges_g(...)
}

#' @rdname effectsize_deprecated
#' @export
interpret_delta <- function(...) {
.Deprecated("interpret_glass_delta")
interpret_glass_delta(...)
}

#' @rdname effectsize_deprecated
#' @export
interpret_parameters <- function(...) {
.Deprecated("interpret_r")
interpret_r(...)
}

#' @rdname effectsize_deprecated
#' @export
normalized_chi <- function(...) {
.Deprecated("fei")
fei(...)
}

#' @rdname effectsize_deprecated
#' @export
chisq_to_normalized <- function(...) {
.Deprecated("chisq_to_fei")
chisq_to_fei(...)
}

#' @export
d_to_cles <- function(...) {
.Defunct(NULL, msg = 'See help("d_to_cles") for the available functions.')
}

#' @export
rb_to_cles <- function(...) {
.Deprecated("rb_to_p_superiority")
rb_to_p_superiority(...)
}

#' @rdname effectsize_deprecated
#' @export
convert_d_to_common_language <- d_to_cles

#' @rdname effectsize_deprecated
#' @export
d_to_common_language <- d_to_cles

#' @rdname effectsize_deprecated
#' @export
convert_rb_to_common_language <- rb_to_cles

#' @rdname effectsize_deprecated
#' @export
rb_to_common_language <- rb_to_cles

#' @export
cles <- function(...) {
.Defunct(NULL, msg = 'See help("p_superiority") for the available functions.')
}

#' @rdname effectsize_deprecated
#' @export
common_language <- cles
19 changes: 7 additions & 12 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
## Known issues

- Failed handshake with *shinyapps.io* is a false positive.
- Unavailable DOI link are false positives.
- Spelling mistakes are false positives.

## Test environments

* local installation: R 4.3.2 on Windows
* local installation: R 4.4.1 on Windows
* GitHub Actions
- Windows: release, oldrel
- Windows: release
- macOS: release
- ubuntu-18.04: release, oldrel, 4.3
* win-builder: release
- ubuntu-18.04: release, devel
* win-builder: release, devel


## R CMD check results
Expand All @@ -21,8 +16,8 @@

## revdepcheck results

We checked 23 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 25 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
* We saw 0 new problems related to effectsize.
* We failed to check 1 packages (visvow)

12 changes: 6 additions & 6 deletions man/effectsize-package.Rd

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

33 changes: 0 additions & 33 deletions man/effectsize_deprecated.Rd

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

0 comments on commit 4f3b9a1

Please sign in to comment.