Skip to content

Commit a18e555

Browse files
authored
CRAN 1.0.2 (#696)
1 parent 12df0c8 commit a18e555

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: effectsize
33
Title: Indices of Effect Size
4-
Version: 1.0.1.2
4+
Version: 1.0.2
55
Authors@R:
66
c(person(given = "Mattan S.",
77
family = "Ben-Shachar",

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# effectsize 1.0.x
1+
# effectsize 1.0.2
22

33
## New features
44

cran-comments.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
## Test environments
33

4-
* local installation: R 4.4.1 on Windows 11 x64
4+
* local installation: R 4.5.2 on Windows 11 x64
55
* GitHub Actions
66
- Windows: release, devel
77
- macOS: release
@@ -16,7 +16,6 @@
1616

1717
## revdepcheck results
1818

19-
We checked 28 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
20-
21-
* We saw 0 new problems related to effectsize.
19+
We checked 37 reverse dependencies (34 from CRAN + 3 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
2220

21+
* We saw 0 new problems related to effectsize.

tests/testthat/test-effectsize.R

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,12 @@ test_that("htest | rank", {
390390
expect_equal(rank_epsilon_squared(kt)[[1]], E, ignore_attr = TRUE)
391391
})
392392

393-
test_that("htest | Get args from htest", {
393+
test_that("htest | Get args from htest (t.test)", {
394394
tt <- t.test(
395395
mtcars$hp,
396396
mtcars$mpg,
397397
alternative = "l",
398-
mu = -3,
398+
mu = 100,
399399
conf.level = 0.8,
400400
var.equal = TRUE
401401
)
@@ -405,18 +405,20 @@ test_that("htest | Get args from htest", {
405405
mtcars$hp,
406406
mtcars$mpg,
407407
alternative = "l",
408-
mu = -3,
408+
mu = 100,
409409
ci = 0.8
410410
),
411411
ignore_attr = TRUE
412412
)
413+
})
413414

415+
test_that("htest | Get args from htest (wilcox.test)", {
414416
suppressWarnings({
415-
ww1 <- wilcox.test(mtcars$hp, mtcars$mpg, alternative = "l", mu = -3)
417+
ww1 <- wilcox.test(mtcars$hp, mtcars$mpg, alternative = "l", mu = 80)
416418
})
417419
expect_equal(
418420
rank_biserial(ww1),
419-
rank_biserial(mtcars$hp, mtcars$mpg, alternative = "l", mu = -3),
421+
rank_biserial(mtcars$hp, mtcars$mpg, alternative = "l", mu = 80),
420422
ignore_attr = TRUE
421423
)
422424

@@ -425,9 +427,9 @@ test_that("htest | Get args from htest", {
425427
mtcars$hp,
426428
mtcars$mpg,
427429
alternative = "l",
428-
mu = -3,
430+
mu = 80,
429431
conf.int = TRUE,
430-
conf.level = 0.8
432+
conf.level = 0.7
431433
)
432434
})
433435
expect_equal(
@@ -436,10 +438,11 @@ test_that("htest | Get args from htest", {
436438
mtcars$hp,
437439
mtcars$mpg,
438440
alternative = "l",
439-
mu = -3,
440-
ci = 0.8
441+
mu = 80,
442+
ci = 0.7
441443
),
442-
ignore_attr = TRUE
444+
ignore_attr = TRUE,
445+
tolerance = 0.01
443446
)
444447
})
445448

0 commit comments

Comments
 (0)