Skip to content

Commit 4307db5

Browse files
Prepare for CRAN (#249)
1 parent b94bb15 commit 4307db5

File tree

11 files changed

+202
-53
lines changed

11 files changed

+202
-53
lines changed

DESCRIPTION

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: correlation
33
Title: Methods for Correlation Analysis
4-
Version: 0.8.1.2
4+
Version: 0.8.2
55
Authors@R:
66
c(person(given = "Dominique",
77
family = "Makowski",
@@ -51,14 +51,10 @@ Depends:
5151
Imports:
5252
bayestestR (>= 0.12.1),
5353
datasets,
54-
datawizard (>= 0.4.1.10),
54+
datawizard (>= 0.5.0),
5555
insight (>= 0.18.0),
5656
parameters (>= 0.18.1),
5757
stats
58-
Remotes:
59-
easystats/insight,
60-
easystats/datawizard,
61-
easystats/parameters
6258
Suggests:
6359
BayesFactor,
6460
poorman,
@@ -85,6 +81,6 @@ VignetteBuilder:
8581
knitr
8682
Encoding: UTF-8
8783
Language: en-US
88-
RoxygenNote: 7.2.0
84+
RoxygenNote: 7.2.1
8985
Config/testthat/edition: 3
9086
Roxygen: list(markdown = TRUE)

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# correlation 0.8.1.1
1+
# correlation 0.8.2
2+
3+
- Maintenance release for *datawizard* package update.
24

35
# correlation 0.8.1
46

README.Rmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ The `cor_test()` function, for pairwise correlations, is also very convenient fo
130130
plot(cor_test(iris, "Sepal.Width", "Sepal.Length"))
131131
```
132132

133-
134133
## Grouped dataframes
135134

136135
The `correlation()` function also supports **stratified correlations**, all within the

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@ Click on the buttons above to access the package
5959
[easystats blog](https://easystats.github.io/blog/posts/), and check-out
6060
these vignettes:
6161

62-
- [Types of
63-
Correlation](https://easystats.github.io/correlation/articles/types.html)
64-
- [Multilevel
65-
Correlations](https://easystats.github.io/correlation/articles/multilevel.html)
62+
- [Types of
63+
Correlation](https://easystats.github.io/correlation/articles/types.html)
64+
- [Multilevel
65+
Correlations](https://easystats.github.io/correlation/articles/multilevel.html)
6666

6767
# Features
6868

6969
The *correlation* package can compute many different types of
7070
correlation, including:
7171

72-
**Pearson’s correlation**<br> ✅ **Spearman’s rank correlation**<br>
73-
**Kendall’s rank correlation**<br> ✅ **Biweight midcorrelation**<br>
74-
**Distance correlation**<br> ✅ **Percentage bend correlation**<br>
75-
**Shepherd’s Pi correlation**<br> ✅ **Blomqvist’s coefficient**<br>
76-
**Hoeffding’s D**<br> ✅ **Gamma correlation**<br> ✅ **Gaussian rank
72+
**Pearson’s correlation**<br> ✅ **Spearman’s rank correlation**<br>
73+
**Kendall’s rank correlation**<br> ✅ **Biweight midcorrelation**<br>
74+
**Distance correlation**<br> ✅ **Percentage bend correlation**<br>
75+
**Shepherd’s Pi correlation**<br> ✅ **Blomqvist’s coefficient**<br>
76+
**Hoeffding’s D**<br> ✅ **Gamma correlation**<br> ✅ **Gaussian rank
7777
correlation**<br> ✅ **Point-Biserial and biserial correlation**<br> ✅
7878
**Winsorized correlation**<br> ✅ **Polychoric correlation**<br> ✅
7979
**Tetrachoric correlation**<br> ✅ **Multilevel correlation**<br>
@@ -201,14 +201,14 @@ It is very easy to switch to a **Bayesian framework**.
201201
correlation(iris, bayesian = TRUE)
202202
## # Correlation Matrix (pearson-method)
203203
##
204-
## Parameter1 | Parameter2 | rho | 95% CI | pd | % in ROPE | Prior | BF
205-
## ------------------------------------------------------------------------------------------------------
206-
## Sepal.Length | Sepal.Width | -0.11 | [-0.27, 0.03] | 92.30% | 43.55% | Beta (3 +- 3) | 0.509
207-
## Sepal.Length | Petal.Length | 0.86 | [ 0.82, 0.90] | 100%*** | 0% | Beta (3 +- 3) | > 1000***
208-
## Sepal.Length | Petal.Width | 0.81 | [ 0.74, 0.85] | 100%*** | 0% | Beta (3 +- 3) | > 1000***
209-
## Sepal.Width | Petal.Length | -0.41 | [-0.54, -0.27] | 100%*** | 0% | Beta (3 +- 3) | > 1000***
210-
## Sepal.Width | Petal.Width | -0.35 | [-0.49, -0.21] | 100%*** | 0.02% | Beta (3 +- 3) | > 1000***
211-
## Petal.Length | Petal.Width | 0.96 | [ 0.95, 0.97] | 100%*** | 0% | Beta (3 +- 3) | > 1000***
204+
## Parameter1 | Parameter2 | rho | 95% CI | pd | % in ROPE | Prior | BF
205+
## --------------------------------------------------------------------------------------------------------
206+
## Sepal.Length | Sepal.Width | -0.11 | [-0.26, 0.05] | 91.62% | 44.12% | Beta (3 +- 3) | 0.509
207+
## Sepal.Length | Petal.Length | 0.86 | [ 0.82, 0.90] | 100%*** | 0% | Beta (3 +- 3) | 2.14e+43***
208+
## Sepal.Length | Petal.Width | 0.81 | [ 0.75, 0.86] | 100%*** | 0% | Beta (3 +- 3) | 2.62e+33***
209+
## Sepal.Width | Petal.Length | -0.41 | [-0.54, -0.27] | 100%*** | 0% | Beta (3 +- 3) | 3.49e+05***
210+
## Sepal.Width | Petal.Width | -0.35 | [-0.49, -0.21] | 100%*** | 0.05% | Beta (3 +- 3) | 5.29e+03***
211+
## Petal.Length | Petal.Width | 0.96 | [ 0.94, 0.97] | 100%*** | 0% | Beta (3 +- 3) | 1.24e+80***
212212
##
213213
## Observations: 150
214214
```

cran-comments.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
0 errors | 0 warnings | 0 notes
44

5-
* This is a new release.
5+
* Fixes breakage caused by *datawizard* package update.
66

77
## revdepcheck results
88

9-
We checked 7 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
9+
We checked 8 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
1010

11-
* We saw 0 new problems
12-
* We failed to check 0 packages
11+
* We saw 3 new problems
12+
* We failed to check 0 packages
13+
14+
The problems in *effectsize*, *see*, and *statsExpressions* packages are due to
15+
*datawizard* update, and unrelated to the current submission.

man/figures/README-12-1.png

657 KB
Loading

man/figures/README-7-1.png

172 KB
Loading

man/figures/README-corr-1.png

223 KB
Loading

revdep/README.md

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
11
# Platform
22

3-
|field |value |
4-
|:--------|:------------------------------------|
5-
|version |R version 4.1.2 (2021-11-01) |
6-
|os |Windows 10 x64 (build 22000) |
7-
|system |x86_64, mingw32 |
8-
|ui |RStudio |
9-
|language |(EN) |
10-
|collate |English_United States.1252 |
11-
|ctype |English_United States.1252 |
12-
|tz |America/New_York |
13-
|date |2022-02-14 |
14-
|rstudio |2021.09.1+372 Ghost Orchid (desktop) |
15-
|pandoc |NA |
3+
|field |value |
4+
|:--------|:-----------------------------------------|
5+
|version |R version 4.2.1 (2022-06-23) |
6+
|os |macOS Monterey 12.4 |
7+
|system |aarch64, darwin20 |
8+
|ui |RStudio |
9+
|language |(EN) |
10+
|collate |en_US.UTF-8 |
11+
|ctype |en_US.UTF-8 |
12+
|tz |Europe/Berlin |
13+
|date |2022-08-07 |
14+
|rstudio |2022.07.0+548 Spotted Wakerobin (desktop) |
15+
|pandoc |2.19 @ /usr/local/bin/ (via rmarkdown) |
1616

1717
# Dependencies
1818

19-
|package |old |new |<U+0394> |
20-
|:-----------|:------|:------|:--|
21-
|correlation |0.7.1 |0.8.0 |* |
22-
|bayestestR |0.11.5 |0.11.5 | |
23-
|datawizard |0.2.3 |0.2.3 | |
24-
|insight |0.15.0 |0.15.0 | |
25-
|parameters |0.16.0 |0.16.0 | |
19+
|package |old |new |Δ |
20+
|:-----------|:-----|:--------|:--|
21+
|correlation |0.8.1 |0.8.2 |* |
22+
|bayestestR |NA |0.12.1.2 |* |
23+
|datawizard |NA |0.5.0 |* |
24+
|insight |NA |0.18.0.4 |* |
2625

2726
# Revdeps
2827

28+
## New problems (3)
29+
30+
|package |version |error |warning |note |
31+
|:------------------------------------------------|:-------|:------|:-------|:----|
32+
|[effectsize](problems.md#effectsize) |0.7.0 |__+1__ | | |
33+
|[see](problems.md#see) |0.7.1 |__+1__ |__+1__ | |
34+
|[statsExpressions](problems.md#statsexpressions) |1.3.2 |__+1__ | | |
35+

revdep/cran.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
## revdepcheck results
22

3-
We checked 7 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
3+
We checked 8 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
44

5-
* We saw 0 new problems
5+
* We saw 3 new problems
66
* We failed to check 0 packages
77

8+
Issues with CRAN packages are summarised below.
9+
10+
### New problems
11+
(This reports the first line of each new failure)
12+
13+
* effectsize
14+
checking tests ...
15+
16+
* see
17+
checking examples ... ERROR
18+
checking dependencies in R code ... WARNING
19+
20+
* statsExpressions
21+
checking tests ...
22+

0 commit comments

Comments
 (0)